简体   繁体   中英

Run Web applications with different Java versions in Tomcat

I am using Tomcat 6 and in need to deploy 2 web apps , one of which will run in Java6 and the other in Java8 . Is it possible to achieve the same using a single Tomcat

No. Tomcat uses only one Java process. If you need to use different JREs, you have to use different Tomcat instances.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM