Hi Bill
It does appear that I have everything I need.
After a little more grepping around on the command
line I think I have an idea what is going on here.
The Java stuff is under
/System/Library/Frameworks/JavaVM.framework
Specfically, the JDK directory is under
/System/Library/Frameworks/JavaVM.framework/Home
This is a softlink to the home directory of the
current JDK. Ultimately this points to
/System/Library/Frameworks/JavaVM.framework/Versions/1
.5.0/
Which presumably means I have Java SDK version
1.5.0.
So I should be good to go. And if any apps need my
JAVA_HOME environment variable, I set it to
/System/Library/Frameworks/JavaVM.framework/Home
Is this all correct?
Yes, indeed it is all correct. I can't understand Apple's thinking in that it retains Java 1.3, 1.4.1, 1.4.2 and 1.5 on the same system! Most Windows users would simply download the latest version from Sun's website and use it!
The CurrentJDK soft link specifies your default Java which for now should be Java 1.5. You can change the soft link to select a new default version, but if you do this then you should also execute the Java Preferences application which you'll find in /Applications/Utilities/Java
If you use Xcode then you still need to specifically select 1.5 as your Java version for each and every project. The way to do this is described in my worksheets.
FWIW, there's a preview (beta) version of Java 6.0 now available for download on Apple's Developer web site.
Bob