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, 441🔥, 0💬
Popular Posts:
How to show the XML parsing flow with sax\DocumentTracer.java provided in the Apache Xerces package?...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
JUnit Source Code Files are provided in the source package file, junit-4.13.2-sources.jar .You can b...
MP3SPI is a Java Service Provider Interface that adds MP3 (MPEG 1/2/2.5 Layer 1/2/3) audio format su...
Joda-Time provides a quality replacement for the Java date and time classes. The design allows for m...