Ich habe jdk 1.8.0 u5 installiert, aber das Kommandozeilen-Java meldet 1.7:
$ java -fullversion
java full version "1.7.0_51-b13"
$ which java
/usr/bin/java
$ ls -l /usr/bin/java
lrwxr-xr-x 1 root wheel 74 Oct 23 2013 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
Hier ist was installiert ist
$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/
total 64
lrwxr-xr-x 1 root wheel 10 Oct 23 2013 1.4 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Oct 23 2013 1.4.2 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Oct 23 2013 1.5 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Oct 23 2013 1.5.0 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Oct 23 2013 1.6 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Oct 23 2013 1.6.0 -> CurrentJDK
drwxr-xr-x 8 root wheel 272 May 13 10:21 A
lrwxr-xr-x 1 root wheel 1 Oct 23 2013 Current -> A
lrwxr-xr-x 1 root wheel 59 Oct 23 2013 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
ebenfalls:
$ /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java -fullversion
java full version "1.7.0_51-b13"
Das Java Control Panel Applet meldet 1.8, aber in / Library / Internet \ Plug-Ins / JavaAppletPlugin.plugin /
Irgendeine Idee, wohin es ging?