J'ai installé jdk 1.8.0 u5, mais la ligne de commande java rapporte 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
Voici ce qui est installé
$ 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
aussi:
$ /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java -fullversion
java full version "1.7.0_51-b13"
L'applet du panneau de configuration Java signale 1.8, mais dans / Library / Internet \ Plug-Ins / JavaAppletPlugin.plugin /
Une idée où c'est allé?