Tomcat9 projects | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Tomcat9 projects

How do I best understand changing Catalina base and Catalina home for different versions of tomcat and Java. For example, if I have tomcat6 and Java 5. I know I have to install tomcat in the /opt folder and run start.sh bin command. How do I change the server.xml file to use a specific version of Java??

19th Aug 2020, 10:43 AM
Sprite Beverage
Sprite Beverage - avatar
3 Answers
0
No you no need to specify java version at all, As i understand your question, you just install java and set the JAVA_HOME path with JDK Root Location... And Set Catalina path with Tomcat root location
29th Aug 2020, 5:34 AM
Akbar Ali Quazi
Akbar Ali Quazi - avatar
0
But what if your trying to run different versions of java for other apps?? From what I understand, you can run a different java version for another app in a different port, using another tomcat install. For me it is a reminder of virtualenv and its different "instances".
29th Aug 2020, 5:47 AM
Sprite Beverage
Sprite Beverage - avatar
0
Aahh, thn i misunderstand, sry dude
29th Aug 2020, 5:48 AM
Akbar Ali Quazi
Akbar Ali Quazi - avatar