Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
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 (309)
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, 344🔥, 0💬
Popular Posts:
What Is jtds-1.2.2.jar? jtds-1.2.2.jar is the JAR files of jTDS Java library 1.2.2, which is a JDBC ...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
Java Cryptography Extension 1.6 JAR File Size and Download Location: File name: jce.jar, jce-1.6.jar...
commons-collections4-4.2 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...
JDK 11 java.security.jgss.jmod is the JMOD file for JDK 11 Security JGSS (Java Generic Security Serv...