Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Java 1.7 compiler compliance not visible/enabled in Indigo Classic(In "Properties > Java Compiler > JDK Compliance", 1.7 not listed in drop-down list)
Java 1.7 compiler compliance not visible/enabled in Indigo Classic [message #790891] Sun, 05 February 2012 01:13 Go to next message
Tristan Rentz is currently offline Tristan RentzFriend
Messages: 1
Registered: February 2012
Junior Member
index.php/fa/7022/0/index.php/fa/7021/0/index.php/fa/7021/0/I'm running Java SE 1.7 on Linux Mint 12, which - in terms of both JRE and JDK - is configured correctly. I tested this using a switch statement with a string parameter, which both compiled and ran, a feature that is only available from J2SE1.7.
Never the less, on Eclipse Indigo, if I go to "Preferences > Java > Compiler > JDK Compliance > Compiler Compliance Level", the only offerings are 1.3 to 1.6., despite "Preferences > Java > Installed JREs" giving jdk1.7.
In my Windows environment, this code compiles and runs fine in Eclipse, and of course hence 1.7 is visible on the "Compiler Compliance" list.
Does anyone hence have any idea how to explicitly enable Java 1.7 in "Compiler Compliance"?

Cheers
Tristan R.

[Updated on: Sun, 05 February 2012 01:22]

Report message to a moderator

Re: Java 1.7 compiler compliance not visible/enabled in Indigo Classic [message #791236 is a reply to message #790891] Sun, 05 February 2012 14:00 Go to previous messageGo to next message
Nick Clevery is currently offline Nick CleveryFriend
Messages: 50
Registered: January 2012
Member
Did you check the "jre7" on the "Preferences > Java > Installed JREs" ?
Re: Java 1.7 compiler compliance not visible/enabled in Indigo Classic [message #791703 is a reply to message #791236] Mon, 06 February 2012 06:39 Go to previous message
Satyam Kandula is currently offline Satyam KandulaFriend
Messages: 444
Registered: July 2009
Senior Member
Are you using Indigo SR1? Support for Java 1.7 was added only in Indigo SR1 and not in Indigo.
Previous Topic:refactoring preview editor using incorrect syntax highlighting
Next Topic:Query on two options in Importing breakpoints window
Goto Forum:
  


Current Time: Sat Apr 20 01:12:58 GMT 2024

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

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

Back to the top