Article: How to change your Eclipse JVM (to JRockit)


To update the Eclipse JVM to use JRockit:

edit %ECLIPSE_HOME%/eclipse.ini
You should see the following:
-vmargs
-Xms40m
-Xmx256m
add the following:
-vm %BEA_HOME%\jrockit90_150_04\jre\bin\javaw.exe
-vmargs
-Xms40m
-Xmx256m
Make sure you replace the %BEA_HOME% with an actual valid path such as "C:\BEA\" then restart.

Change your default JVM for workspace to the new JVM:

Once you bring up Eclipse goto - and then on the UI that pops up choose - and add a new JRE and point to the following directory below "%BEA_HOME%\jrockit90_150_04\jre".

After adding the JRE, make it the default JRE for all projects... And exit and restart and you're done.
Also make sure that the %PATH% has "C:\YOURBEAHOME\jrockit90_150_04\jre\bin;" reference before it refrences any other JDK.
And your JAVA_HOME is pointing to "C:\YOURBEAHOME\jrockit90_150_04\jre"


Return Home