![]() ![]() ![]() 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) Java(TM) SE Runtime Environment (build 1.7.0_05-b06) ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |