Skip to main content
2 of 2
added 19 characters in body
nohillside
  • 104.5k
  • 42
  • 222
  • 275

How to install JRE in a way usable for dev?

I have Java 8 installed by an admin

  • /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/bin
  • /Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre/bin

I needed to install java9, so I downloaded and installed the JDK to

/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin

However, I got no .../jre folder!

When I tried to install the JRE as a standalone, the installation completed fine but there's nothing new under /Library/Java/JavaVirtualMachines (or jdk-9.0.4.jdk)

I need to have the jre folder there or at least to know where it is so I can configure my way to it. How can this be achieved?