in windows you should add the following code into your eclipse.ini file. Just make sure you put the "-vm" and the path of your java executable in separated lines. and make sure you put them before -vmargs .
-vm
C:\Java\JDK\1.5\bin\javaw.exe
an example of linux :
-vm
/opt/sun-jdk-1.6.0.02/bin/java
-- an example of mac os :
On a Mac OS X system, you can find eclipse.ini by right-clicking (or Ctrl+click) on the Eclipse executable in Finder, choose Show Package Contents, and then locate
eclipse.ini
in the MacOS
Contents
-vm
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
folder under
No comments:
Post a Comment