Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JDK Directories on Mac Computer
What are JDK Directories on my Mac Computer?
✍: FYIcenter
Here is where JDK program files are located on your Mac computer:
fyicenter$ ls -l /Library/Java/JavaVirtualMachines/ drwxr-xr-x@ 5 root wheel 170 Feb 13 2020 jdk-13.jdk drwxr-xr-x@ 3 root wheel 102 Mar 5 2020 jdk-14.0.1.jdk drwxr-xr-x 3 root wheel 102 Oct 12 2020 jdk-15.jdk drwxr-xr-x 3 root wheel 102 Nov 5 23:22 jdk-17.0.5.jdk fyicenter$ ls -l /Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home/bin -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jar -rwxr-xr-x 1 root wheel 53328 Sep 13 12:46 jarsigner -rwxr-xr-x 1 root wheel 53424 Sep 13 12:46 java -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 javac -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 javadoc -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 javap -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jcmd -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jconsole -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jdb -rwxr-xr-x 1 root wheel 53328 Sep 13 12:46 jdeprscan -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jdeps -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jfr -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jhsdb -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jimage -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jinfo -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jlink -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jmap -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jmod -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jpackage -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jps -rwxr-xr-x 1 root wheel 53328 Sep 13 12:46 jrunscript -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jshell -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jstack -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jstat -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 jstatd -rwxr-xr-x 1 root wheel 53312 Sep 13 12:46 keytool -rwxr-xr-x 1 root wheel 53328 Sep 13 12:46 rmiregistry -rwxr-xr-x 1 root wheel 53328 Sep 13 12:46 serialver
If you want to run a JDK program of an older version, you need to specify the full path of the program. For example:
fyicenter$ javac -version javac 17.0.5 fyicenter$ /Library/Java/JavaVirtualMachines/jdk-17.0.5.jdk/Contents/Home/bin/javac -version javac 17.0.5 fyicenter$ /Library/Java/JavaVirtualMachines/jdk-13.jdk/Contents/Home/bin/javac -version javac 13
⇒ Java Applet Plugin on Mac Computer
⇐ JVM Framework Directories on Mac Computer
2023-08-09, ∼826🔥, 0💬
Popular Posts:
Where to get the Java source code for Connector/J 8.0 Core Impl module? Java source code files for C...
Apache Commons Lang 3 is the 3rd version of Apache Commons Lang, which provides a host of helper uti...
JDK 11 jdk.internal.opt.jmod is the JMOD file for JDK 11 Internal Opt module. JDK 11 Internal Opt mo...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...
What is ojdbc.jar - JDBC Driver for Oracle? ojdbc.jar is a JDBC driver from Oracle that provides dat...