I had a situation to configure an application that would run in Tomcat 8 and jre 9 in a windows server which already had a Tomcat 6 instance running with jre 6.
I came across 2 possibilities and brought up both the applications.
- To install tomcat as windows service
- Copy another instance and configure
If you would like to install the tomcat as windows service it makes it much simpler.
1. To install tomcat as windows service
It is a better choice as it is not required to modify anything for the existing configuration and will not change default jre.
- Download ‘server jre’
- Extract it and place it in a folder as below.
D:\Program Files\Oracle Java Server\jdk-9
- Download windows service installer
- Install the tomcat (8.5) downloaded and configure different ports
from the existing of server 1(tomcat 6, check server.xml)

- Chose server jre while installing

2. Copy another instance and configure
Copy tomcat 6 and tomcat 8 in a folder
If JAVA_HOME and JRE_HOME were set, remove them.
Set path for jdk/jre in catalina.bat or add a file setenv.bat in the
same location, something like,
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131 and in another instance tomcat 6
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_45
Make sure both instances have different port configurations in
server.xml