javac -version
This command gives the correct updated version, so I think the JDK was installed correctly. I need to know its location. How can I find the path to the JDK?
javac -version
This command gives the correct updated version, so I think the JDK was installed correctly. I need to know its location. How can I find the path to the JDK?
/Library/Java/JavaVirtualMachines
You can use the following command on a terminal:
/usr/libexec/java_home
To find the location of your jdk install.
Hope this helps!