Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: About the Java SE 5.0 Release 3 update' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: About the Java SE 5.0 Release 3 update
Authored by: quaeler on Nov 23, '05 12:49:00AM

part of the problem, it seems, is that apple's "Java Preferences" was not written for a development environment - just a deployment-only environment.

looking at /System/Library/Frameworks/JavaVM.framework/Versions/ we see that Current is correctly linked as defined by preferences set in the JavaPreferences.app.

HOWEVER, CurrentJDK's link is not changed. Combined this with what 'java' is linked to in my default path:
[...] root# which java
/usr/bin/java
[...] root# ls /usr/bin/java
lrwxr-xr-x 1 root wheel 57 Nov 13 21:59 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Commands/java

and of course:
lrwxr-xr-x 1 root wheel 28 Nov 13 21:59 Commands -> Versions/CurrentJDK/Commands

so regardless of what is set in JavaPreferences.app, command line java will reflect the jdk symbolic link.



[ Reply to This | # ]