JDK 1.5 library problems [message #119239] |
Wed, 23 November 2005 10:43  |
Eclipse User |
|
|
|
Originally posted by: tim.julian.hsc.utah.edu
I have just installed the JDK 1.5_05
I have just installed Eclipse 3.2M3
It will not accept Java 1.5 constructs such as Scanner class,enums, and
printf.
I go to run/run/libraries, and click on the 1.5_05.
It still does not except Scanner class, enums, nor printf.
Any ideas?
Is there a document so I can make this happen everytime for certain?
Thanks for the help!
|
|
|
Re: JDK 1.5 library problems [message #119591 is a reply to message #119239] |
Thu, 24 November 2005 12:03  |
Eclipse User |
|
|
|
Originally posted by: olivier_thomann.NOca.ibm.comSPAM
Tim Julian a écrit :
> I have just installed the JDK 1.5_05
> I have just installed Eclipse 3.2M3
> It will not accept Java 1.5 constructs such as Scanner class,enums, and
> printf.
> I go to run/run/libraries, and click on the 1.5_05.
> It still does not except Scanner class, enums, nor printf.
You need to setup your project's compiler compliance to 1.5.
See Window>Preferences>Java>Compiler>JDK Compliance. Put 5.0.
Then it should work.
--
Olivier
|
|
|
Powered by
FUDForum. Page generated in 0.07699 seconds