JDK 1.5 library problems [message #119239] |
Wed, 23 November 2005 15:43 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 17:03 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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.08226 seconds