Java installation location for mac

――Where is the java updated by Java on the control panel? The story

Not even seen with java_home -V.

--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$

This is what is specified in the Java control panel.


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$

When used normally ...

--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$

Java is in various places ...

/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

Java installation location for mac
java installation
[OpenCV3.2.0] Eclipse (Java) settings (for Mac)
Build Java development environment (for Mac)
[Java & SpringBoot] Environment Construction for Mac
Eclipse installation and code completion enhancements (Mac for Java development)
Getting Started with Docker for Mac (Installation)
2017 IDE for Java
Java for statement
Java installation (Mac, Homebrew, multiple version control)
Summary of Java environment settings for myself [mac]
[Java] for statement, while statement
Java (eclipse) installation procedure
[Java] Package for management
[Java] for statement / extended for statement
Mac Java Home Directory
IntelliJ installation + HelloWorld (mac)
Countermeasures for Java OutOfMemoryError
NLP for Java (NLP4J) (2)
(Memo) Java for statement
NLP for Java (NLP4J) (1)
Learning Java framework # 1 (Mac version)
How to uninstall Java 8 (Mac)
Java update for Scala users
[Java] Basic statement for beginners
Books used for learning Java
2018 Java Proficiency Test for Newcomers-Basics-
Java development environment (Mac, Eclipse)
[Java] Summary of for statements
Java for beginners, data hiding
[Java] Tips for writing source
[Mac] Android Studio quits for an unexpected reason during installation
Java application for beginners: stream
Java while and for statements
Xymon client installation for Ubuntu
C # cheat sheet for Java engineers
New grammar for Java 12 Switch statements
Execution environment test after Java installation
[For beginners] Summary of java constructor
How to install JMeter for Mac
AWS SDK for Java 1.11.x and 2.x
Rock-paper-scissors game for beginners in Java
Java for beginners, expressions and operators 1
[Java] Memo for naming class names
[For beginners] Run Selenium in Java
Amazon Corretto for Windows installation procedure
[Ubuntu] Installation procedure for Amazon Correto 8
Hello World for ImageJ Java Plugin
Java for beginners, expressions and operators 2
Enable OpenCV with java8. (For myself)
Spring Framework tools for Java developer
java (use class type for field)
Initial introduction to Mac (Java engineer)
Settings for SSL debugging in Java
Generics of Kotlin for Java developers
Diary for Java SE 8 Silver qualification
[For Java beginners] About exception handling
Classes and instances Java for beginners
Docker For Mac Slow: Countermeasure II
Modern best practices for Java testing
Install Java development environment on Mac