|
Re: compiler compliance level [message #256404 is a reply to message #256401] |
Thu, 15 May 2008 02:40 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Tristan,
I only have a 1.5 JRE installed and still I have 1.6 as a choice. If
you look at Window->Preferences->Java->Installed JREs is the one you
think is being used actually being used?
Tristan R. wrote:
> i've set CLASSPATH correctly, have jdk & jre 1.6 installed but the
> dropdown list in Window> Preferences> Java> Compiler> Compliance &
> Classfiles only offers 1.3 & 1.4, and so i can't use
> System.out.printf, of which i've otherwise become quite fond. what
> must i do to scratch this itch?!
>
|
|
|
Re: compiler compliance level [message #256426 is a reply to message #256401] |
Thu, 15 May 2008 13:47 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Tristan R. wrote:
> i've set CLASSPATH correctly, have jdk & jre 1.6 installed but the
> dropdown list in Window> Preferences> Java> Compiler> Compliance &
> Classfiles only offers 1.3 & 1.4, and so i can't use System.out.printf,
> of which i've otherwise become quite fond. what must i do to scratch
> this itch?!
>
First of all, Eclipse does not use the system env variable CLASSPATH at
all. Each project in Eclipse can specify a JRE to use.
Second, just because you have JDK 1.6 installed does not mean Eclipse is
running on it or knows about it.
As Ed already said, see the Installed JREs portion of the Preferences to
see if 1.6 is listed, If not, add it.
And to make sure Eclipse runs under a specific JVM, see this wiki page:
http://wiki.eclipse.org/Eclipse.ini
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.06587 seconds