Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » compiler compliance level
compiler compliance level [message #256401] Thu, 15 May 2008 01:59 Go to next message
Tristan Rentz is currently offline Tristan RentzFriend
Messages: 1
Registered: July 2009
Junior Member
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 #256404 is a reply to message #256401] Thu, 15 May 2008 02:40 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Console View not getting placed correctly relative to org.eclipse.ui.editorrs view
Next Topic:Debugger Error
Goto Forum:
  


Current Time: Sat Nov 02 20:16:45 GMT 2024

Powered by FUDForum. Page generated in 0.08382 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top