![]() After installing Java for macOS 2012-006, /usr/bin/java will find the newest JDK installed, and will use that for all of the Java-related command-line tools in /usr/bin. Some applications use /usr/bin/java to call Java. ![]() $ export JAVA_HOME=`/usr/libexec/java_home -v 20` If you want to continue to develop with Java 6 using the command line, then you can modify the startup script for your favorite command environment. After installing Java for macOS 2012-006, can I continue to use Apple's Java 6 alongside the macOS JDK for Java 8? See Determining the Default JDK Version on macOS.ģ. If you do not develop Java applications, then you do not need to worry about this. When you run a Java application from the command line, it uses the default JDK. How do I find out which version of Java is the system default? This topic provides answers for the following frequently asked questions about installing JDK on macOS computers.ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |