Skip to main content
1-Visitor
June 24, 2020
Solved

Tomcat installation Java path Notes

  • June 24, 2020
  • 2 replies
  • 1823 views

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 

Best answer by CharlesJi

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

19-Tanzanite
June 24, 2020

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

 

CharlesJi16-PearlAnswer
16-Pearl
June 24, 2020

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