Andy Dingfelder wrote:
I am trying the new version and get a message that I must add a vm switch to
the eclipse.ini file
here is my ini file:
-vm C:/Program Files/Java/jdk1.6.0_01/bin/javaw.exe
-vmargs
-Xms512m
-Xmx1024m
shouldn't that take care of it ?
or will I see the message anyway, even if the switch is right?
First of all, this message is warning you that Maven won't work
properly because you don't have JDK around, but if you don't want to see
that warning next time, you can simply check the checkbox on that
warning dialog.
As for your eclipse.ini file, it is not quite correct. Here is what I
have in mine. Note that default JVM MaxPermSize value is not good for
running Eclipse and need to be increased (e.g. eclipse.ini from Eclipse
3.3 is suggesting 256m value, but it usually it is too much).
-showsplash
org.eclipse.platform
-vm
C:\jdk1.6.0_03\bin\java.exe
-vmargs
-Xms256m
-Xmx512m
-XX:PermSize=32m
-XX:MaxPermSize=160m
Also see the following FAQ entry -
http://docs.codehaus.org/display/M2ECLIPSE/Project+FAQ#ProjectFAQ-UnabletolocatetheJavacCompilerError
BTW, if you haven't noticed, you can actually click on the blue
hyperlinks in that warning dialog to get more information.
regards,
Eugene
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email