If in Java Preferences you set the in the first position Java 6 from Apple A will have Java 6 from Apple if you put on the first position Java SE 7 from Oracle A will point to this version.Current points to A. It seems all the old versions are links to the CurrentJDK version, which is the Apple version, except A and Current which is linked to A.I read something about this on this question.For me A acts like a temp variable. Lrwxr-xr-x 1 root wheel 59 Sep 16 15:55 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents Lrwxr-xr-x 1 root wheel 1 Sep 16 15:55 Current -> A Lrwxr-xr-x 1 root wheel 10 Sep 16 15:55 1.6 -> CurrentJDK Lrwxr-xr-x 1 root wheel 10 Sep 16 15:55 1.5 -> CurrentJDK Lrwxr-xr-x 1 root wheel 10 Sep 16 15:55 1.4 -> CurrentJDK $ ls -l /System/Library/Frameworks/amework/Versions Now why do I have this old versions of Java on my machine ? So I asked on Ask Different When I saw this I was a little bit curious so I went to list the Versions directory: cd /System/Library/Frameworks/amework/Versions Ls -l /usr/bin/java => /System/Library/Frameworks/amework/Versions/Current/Commands/java There are some very useful commands : whereis and which and ls -l. I said to myself let’s find out more out how Java is installed on OS X so I dug for more. Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode) Questions? Comments? Have a fix? Post them below or e-mail us!īe sure to check us out on Twitter and the CNET Mac forums.Java(TM) SE Runtime Environment (build 1.7.0_05-b06) The future of Java on OS X is unclear, but for now it appears when Apple drops development of Java that Oracle will assume the reins and maintain future releases of the runtime for OS X, should demand for it by Mac users continue.
#Java for mac os lion install
As with Rosetta in Snow Leopard, if you run such a program the OS will trigger Software Update to download and install the required Java runtime, and will ask you if you would like to do this. In addition to being available as a standalone installer, the OS should present the option to install Java if you run any program that requires Java to be present. The update is available for download from the Java for OS X Lion Web site. This window will pop up if you do not have Java installed and have launched an application that requires Java.Īpple has announced it will not be maintaining an in-house version of Java, but for now Apple has made available Java 1.6.0_26 (the same version that is available for Snow Leopard) for people to install in OS X 10.7 Lion if needed. Nevertheless, many programs (including popular tools like Adobe CS4 and earlier) still require alternative runtimes like Java, and even though Apple has left Java out of the OS by default, you can still get it for the OS if you need it.
#Java for mac os lion code
Apple is pushing developers to use 64-bit code instead of 32-bit code even for applications that do not need it, use native Intel code instead of maintaining PowerPC code and optimizing its performance under Rosetta (which is now missing from the OS), and implement Objective-C Coco APIs instead of Java and alternatives. With the release of OS X 10.7 Lion, Apple has made an effort to streamline the OS to the prevalent technologies used in OS X and on the Mac platform in general.