This one has me pretty frustrated...
I've installed the Java JDK and got the command line successfully pointed at it. When I open jar files through the terminal it uses the correct JDK to run the jar.
However, when I attempt to open the same jar via double-clicking it in Finder, it uses a different Java executable! In this case, the one that's located at /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
.
How can I change what Java executable Finder is using?
System Preferences > Java Control Panel > Java > View... :
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.