How to find Java Home on Mac OSX

You can run the following command to get the destination:
machines-jahan$ /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home

Leave a Reply

Your email address will not be published. Required fields are marked *