As an example, I will update the Eclipse JVM to use JRockit:
edit %ECLIPSE_HOME%/eclipse.ini
Add the following:
-vm %BEA_HOME%\jrockit90_150_04\jre\bin\javaw.exe
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 – Windows -> Preferences -> Java -> Installed JRE 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, 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"
No comments:
Post a Comment