Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java 5 as default JDK



tojava5
#!/bin/sh
cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo ln -fsh 1.5.0 CurrentJDK
cd ~

tojava14
#!/bin/sh
cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo ln -fsh 1.4.2 CurrentJDK
cd ~

those scripts worked fine for me on prerelease java5 versions on prerelease tiger builds


no yoo don't have to do anything with Current link A is part of the JavaVM.framework A/JavaVM is dynamic library that is good for both 1.4.2 and 5 VM




On Apr 29, 2005, at 10:54 AM, Lars Leibner wrote:

Hi *,

I just got the Java 5 Release 1 for Mac OS X 10.4 and installed it. I tried to set the Java 5 VM as the default VM using the tool from /Applications/Utilities/Java/J2SE 5.0. I selected J2SE 5.0. But when I go to the Terminal and type "java -version" I still get "1.4.2_07".

Looking into /System/Library/Frameworks/JavaVM.framework/Versions shows that the link "CurrentJDK" still points to "1.4.2". Do I have to change this link, too? And what about the strange directory "A"? The link "Current" points to the directory "A". Do I have to change this link, too?

Kind regards,
Lars
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Dmitry Markman

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Java 5 as default JDK (From: Lars Leibner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.