Specify the Java installation you want JSCAPE MFT Server to use
Posted by John Villanueva, Last modified by John Villanueva on 26 June 2020 06:54 PM
There can be instances when you'll need to specify which Java installation JSCAPE MFT Server should be running on.
For Linux installations
In Linux, go to the JSCAPE MFT Server installation directory and edit the script named "server".
Uncomment the INSTALL4J_JAVA_HOME_OVERRIDE and specify like so:
Note that the Java home directory is the parent directory of the "bin" subdirectory. The common mistake is that "bin" is included in the path.
So, for example:
INSTALL4J_JAVA_HOME_OVERRIDE=/usr/java/jre1.8xxx ----> This is correct
INSTALL4J_JAVA_HOME_OVERRIDE=/usr/java/jre1.8xxx/bin ----> This is wrong
For Windows installations
In Windows, go to this directory:
[JSCAPE MFT Server installation directory]/.install4j/ ,
edit the file named:
and replace the existing entry with the full path of your desired Java installation. For example,