Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Java 1.6 from eclipse.ini -- how?(I want the default compliance level to be 1.6.)
Java 1.6 from eclipse.ini -- how? [message #668474] Thu, 05 May 2011 19:35 Go to next message
Peter Drake is currently offline Peter DrakeFriend
Messages: 17
Registered: October 2010
Junior Member
I want the default compliance level to be 1.6. My eclipse.ini includes:

-vm /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/H ome/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6

...but still, when I start Eclipse, the default workspace Java compliance level is 1.5, and no 1.6 library is yet installed. I could set it WITHIN Eclipse, but how can I set it in eclipse.ini (so each user doesn't have to do this separately)?
Re: Java 1.6 from eclipse.ini -- how? [message #668518 is a reply to message #668474] Fri, 06 May 2011 02:10 Go to previous message
Olivier Thomann is currently offline Olivier ThomannFriend
Messages: 518
Registered: July 2009
Senior Member
Try to put each on its own line. Like:
-vm
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/H ome/bin/java
...

--
Olivier
Previous Topic:Java eclipse help
Next Topic:Class not found exception for JUnit
Goto Forum:
  


Current Time: Tue Mar 19 05:49:54 GMT 2024

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

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

Back to the top