Hi All, I have installed eclipse 3.1 on my system. i think the eclipse 3.1 comes built-in with jdk1.4. I also installed jdk 1.5 on my system. How do i configure my eclipse to make use of jdk1.5 (my ecliple is installed in d:\ and jdk1.5 in c:\)
Add it via Window >> Preferences >> Java >> Installed JREs.
Joined: Jul 10, 2007
Thanks for the reply Jay, The installed jre that is displayed on the window(window/prefrences/java/installed)is C:\Program Files\Java\jre1.5.0_06. Now where do i add the -vm arguments, and if the installed jre is 1.5 why are the java5 features not enabled
Joined: Jul 31, 2001
Now where do i add the -vm arguments
From Window >> Preferences >> Java >> Installed JREs, click to select and highlight the JRE (do not select the check box) and click Edit. Specify the Default VM Arguments.
if the installed jre is 1.5 why are the java5 features not enabled
You probably need to change the compiler compliance level. From Window >> Preferences >> Java >> Compiler, select the Compliance and Classfiles tab. Choose a Compiler compliance level.