[英]How do I find the path to the JDK downloaded on my mac?
javac -version
This command gives the correct updated version, so I think the JDK was installed correctly.这个命令给出了正确的更新版本,所以我认为 JDK 安装正确。 I need to know its location.
我需要知道它的位置。 How can I find the path to the JDK?
如何找到 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.查找您的 jdk 安装位置。
Hope this helps!希望这可以帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.