How does ServletExec/AS determine which JDK or JRE to use?
The AS versions of ServletExec determine which JDK or JRE to use based on the java command specified in the StartServletExec run script/batch file that is used to invoke the ServletExec Java application.
If you have SE AS installed and running, but then wish to change the version of JVM that it runs with, do this:
If on Windows, view the Add/Remove programs dialog and take note of the Java items listed there.
Install the JVM you wish to use
If on Windows, refresh the Add/Remove programs dialog and take note of the new Java items listed there.
Stop your SE AS instance
Hand-edit the StartServletExec & StopServletExec scripts (2 files) for your SE AS instance so that they point to the desired JVM.
Note that with StartServletExec you'll also need to ensure that it is pointing to the proper tools.jar file (JDK/SDK only)
Save the changes and then start your SE AS instance.
Use SE FAQ #129 to confirm that your SE AS instance is now
running with the desired JVM version.
(Optional) If nothing else uses the previous JVM version then you may uninstall it.