Skip to main content
Jun 24, 2020 3:13 AM UTC
Solved

Tomcat installation Java path Notes

Hi All, 

I have installed oracle Java software. after I install tomcat 8.5 which path name I write in System Environmental variable, Like jre or jdk.. Which one is correct.. Please consider me. And reply sir

 

 

 

Regards 

Veerasekar 

CharlesJiAnswer
Jun 24, 2020 8:39 AM UTC

Hi @veerasekar, if you are installing tomcat, the path of Java Virtual Machine would be jre (Java Runtime Environment). 

 

e.g., 

C:\Program Files\Java\jdk1.8.0_92\jre

 

 

2 replies

Jun 24, 2020 8:34 AM UTC

Hi @veerasekar 

 

JAVA_HOME environment variable should point to the JDK, for example C:\Program Files\Java\jdk1.8.0_201, not the JRE.

 

Hope this helps

Christophe

 

CharlesJiAnswer
Jun 24, 2020 8:39 AM UTC

Hi @veerasekar, if you are installing tomcat, the path of Java Virtual Machine would be jre (Java Runtime Environment). 

 

e.g., 

C:\Program Files\Java\jdk1.8.0_92\jre