Integration Server 10.5 | Microservices Runtime Guide | Configuring Microservices Runtime | Specifying the JDK or JRE for Microservices Runtime
 
Specifying the JDK or JRE for Microservices Runtime
Microservices Runtime must point to a Java location. By default, Microservices Runtime points to the location of the JRE installed at the same time you installed Microservices Runtime. If necessary, you can specify a different location.
Before you specify the location of Java for Microservices Runtime, determine whether you need to specify the location of the JDK or the JRE. If you intend to use Microservices Runtime to develop and compile Java services on Microservices Runtime, specify the location of the JDK. If you will not be using this installation of Microservices Runtime to compile Java services, you can specify the location of a JRE.
*To specify the Java location for Microservices Runtime
1. Navigate to Integration Server_directory /bin and use a text editor to open the setenv.bat/sh file.
2. Set the JAVA_DIR parameter so that it specifies the location of the JDK or JRE installation directory.
3. Save and close the file.
4. Restart Microservices Runtime.
Note:
If you change the Java location and you use Microservices Runtime to develop and compile Java services, you must also change the value of the watt.server.compile configuration parameter.