installing the latest jdk7 for mac

Henri Gomez henri.gomez at gmail.com
Thu Mar 29 12:32:36 PDT 2012


> The JDK must go into /Library/Java/JavaVirtualMachines. We do this because doing so will make it the default JDK for all of the command-line tools.
>
> Why do you want to put it into a custom location?  Java VMs on the Mac have been installed into this location for some time now.
>
> I do have a to-do item to write up some instructions on how to verify that you have JDK 7 and that it is the default JDK, but just open up a Terminal window and type 'java -version'.  /usr/libexec/java_home will tell you, too.

openjdk-osx-build project install all JVM under
/Library/Java/JavaVirtualMachines since it's the location for
'alternates' JVM (aka non system) :

Here is a list of JVM installed :


drwxr-xr-x  3 root   wheel  102 29 jui  2011 1.6.0_26-b03-383.jdk
drwxr-xr-x  3 root   wheel  102 22 sep  2011 1.6.0_27-b07-395.jdk
drwxr-xr-x  3 root   wheel  102 14 oct 23:55 1.6.0_29-b11-397.jdk
drwxr-xr-x  3 root   wheel  102 15 déc 22:45 1.6.0_30-b12-404.jdk
drwxr-xr-x  3 root   wheel  102 30 jan 19:50 1.6.0_30-b12-409.jdk
drwxr-xr-x  3 root   wheel  102 14 fév 21:31 1.6.0_31-b04-411.jdk
drwxr-xr-x@ 4 henri  wheel  136 14 mar 09:35 1.7.0u.jdk
drwxr-xr-x@ 4 henri  wheel  136 29 mar 12:00 1.7.0u4.jdk
drwxr-xr-x@ 4 henri  wheel  136 26 mar 12:15 1.8.0-lambda.jdk
drwxr-xr-x@ 4 henri  wheel  136 29 mar 09:23 1.8.0.jdk
drwxr-xr-x@ 4 henri  wheel  136 12 jan 22:44 JDK 1.7.0 Developer Preview.jdk


More information about the macosx-port-dev mailing list