――Where is the java updated by Java on the control panel? The story
--The version is different from the Java control panel.
sh-3.2$ /usr/libexec/java_home -V
Matching Java Virtual Machines (1):
1.8.0_131, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
sh-3.2$
/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/
sh-3.2$ /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
sh-3.2$
--It's the one that comes out with java_home ~
sh-3.2$ java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
sh-3.2$ which java
/usr/bin/java
sh-3.2$ ls -la /usr/bin/java
lrwxr-xr-x 1 root wheel 74 9 27 2017 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
sh-3.2$
/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin/java
/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java
/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/java/bin/java
/Applications/Eclipse_4.7.2.app/Contents/java/9/Home/bin/java
/Applications/Eclipse_4.7.2.app/Contents/java/7/Home/jre/bin/java
/Applications/Eclipse_4.7.2.app/Contents/java/7/Home/bin/java
/Applications/Eclipse_4.7.2.app/Contents/java/6/Home/bin/java
/Applications/Eclipse_4.7.2.app/Contents/java/8/Home/jre/bin/java
/Applications/Eclipse_4.7.2.app/Contents/java/8/Home/bin/java
/Applications/Processing.app/Contents/PlugIns/jdk1.8.0_144.jdk/Contents/Home/jre/bin/java
Recommended Posts