Travis Heeter
Travis Heeter

Reputation: 14054

I installed OpenJDK, now I'm installing Tomcat. Where is the JRE?

I'm installing Tomcat 8. It is requiring a JRE:

Tomcat requiring JRE path

I installed OpenJDK for Windows. I did some Googling and got conflicting results of whether or not the JDK has the JRE inside it. I also got something that said the JDK is the JRE, so I'm confused.

I did standard installation of OpenJDK. As far as I can tell.

Upvotes: 0

Views: 1576

Answers (1)

Ali
Ali

Reputation: 172

The JDK comes bundled with a JRE. This means that whenever you install the JDK it also installs a JRE.

As to where is the JRE. Please look inside the folder where JDK is installed. Normally for windows the path looks something like:

C:\Program Files\Java\jdk8u222-b10\jre

However, it is still possible to install the JRE separately also.

Update:

If your installation doesn't look like this, you may be able to do

echo %JAVA_HOME%

or

which java

To get the location of your jre. OP says the jre location was the same as JAVA_HOME, not the bin folder...

Upvotes: 1

Related Questions