Thursday, September 08, 2011

Eclipse VM settings reminder!

You need to make sure your Eclipse is running with a JDK, not just a JRE
eclipse.ini needs something like the following:


-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jdk1.7.0\bin
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx1024m

Note that the path to the JDK must be the full path to the executable (i.e. include the /bin), and the path must be on a NEW LINE after the "-vm".
Don't forget to adjust your PermGen and Heap sizes whilst you're about it - see above for the relevant settings...

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

Links to this post:

Create a Link

<< Home