Woohoo Intel Macs Come With JDK 5!!!
Despite what Apple Developer Network says, my Intel iMac Curo Duo does have JDK5! Such a relief!!!
It came with JDK 1.4 default installation and I tried finding JDK 5 download, in vain. Just to check Apple Developer Connection site and find this scary message: "Java 2 Platform Standard Edition (J2SE) 5.0 Release 4 is based on JDK 1.5.0_06 and improves functionality of J2SE 5.0 on PowerPC-based Mac OS X Tiger systems. This release is not compatible with Intel-based Macintosh computers."
Not quite troo. A quick look in the usual place and voila - there is JDK 5 pre-installed! Just need to move the symbolic link.
This is the same as you needed in PPC Macs: \ Go to /System/Library/Frameworks/JavaVM.framework/Versions \ rm CurrentJDK \ ln -s 1.5 CurrentJDK
And there we go: \ # java -version \ java version "1.5.0_05" \ Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-84) \ Java HotSpot(TM) Client VM (build 1.5.0_05-51, mixed mode)