Where is Java Installed on Mac OS X? - TechRepublic
Question
March 15, 2022 at 09:16 AM
aviator.lotions0i

Where is Java Installed on Mac OS X?

by aviator.lotions0i . Updated 4 years, 1 month ago

Hi

I just downloaded Java 7u17 on Mac OS 10.7.5 then successfully installed it. In order to do some JNI programming, I need to know where Java installed on my Mac.

I thought that inside the /Library/Java/JavaVirtualMachines/ folder, there would be a folder called 1.7.0.jdk or something, but then I found that the folder is empty. This was confirmed by running ls /Library/Java/JavaVirtualMachines/ in the Terminal. I’ve tried searching for it to find out if it was installed somewhere else, but that doesn’t seem to be turning anything up.

Could someone please tell me where Java is installed on my Mac?

All Comments