|
|
10.4: About the Java SE 5.0 Release 3 update
> Contrary to what you may have read elsewhere, you should not modify anything (e.g. symbolic links) in the /System area of OS X to change the default to be Java 5.
10.4: About the Java SE 5.0 Release 3 update
Ditto.
Use 1.5 with eclipse without changing /System
There is a way to get around this for eclipse in particular.
In a terminal, do this:
Eclipse searches in ./jre first for its jvm, so this will start it up in 1.5 always. You can also put this link in /Applications/eclipse if you want the command line invocation to work the same way.
Use 1.5 with eclipse without changing /System
Another way is to edit the Eclipse.app/Contents/MacOS/eclipse.ini file to include:
at the top, along with any other vm args you might want.
Strangely, these args also exist in the Info.plist, but are seemingly ignored. I guess the eclipse people didn't bother to read up on OSX app bundles :-)
Eclipse preferences
Are you saying that you tried changing Eclipse's own preferences so that it would use Java 1.5 (as recommended in the article) but it didn't work?
Eclipse preferences
Yes. (See the other posts).
10.4: About the Java SE 5.0 Release 3 update
You *never* need to modify the /System folder for Java. To get Eclipse to use Java 1.5, edit it's Info.plist inside the application bundle. The eclipse developers on the Apple java-dev list have outlined this process a number of times.
10.4: About the Java SE 5.0 Release 3 update
Eclipse is not the only Java application you know. There are lots of Java applications that do not honor OSXs method of chosing the JVM. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|