Setting a Different Java Location
When installing a newer version of Java on your machine it will, by default, point the java command on the system %PATH% to the new version being installed. However, if you have multiple copies of Java installed or you use a non-standard way of installing java then it is possible to configure
Xpress Insight client and server to use Java from a specific path.
![]() |
Note The paths should be added to the locations in question without quotes, even if they have spaces in them.
|
The location of the Java Runtime is stored in a number of places in Xpress Insight:
Under registry key HKEY_LOCAL_MACHINE\SOFTWARE\Fico Xpress, in the value JavaHome, as REG_SZ string data. (If absent, or an empty string, the default Java will be used.)
To configure Xpress Insight Server to use a specific Java install edit the following file in a text editor:
<installdir>/insight/server/wildfly-9.0.1.Final/bin/standalone.conf.bat
Update the line which sets
JAVA_HOME to contain the location to your custom Java install, (or set it to be blank to use the default Java) for example:
set JAVA_HOME=D:\apps\jdk1.8.0_51
or, if reverting to the default Java:
set JAVA_HOME=
You will need to restart your Xpress Insight Server to pick up the change.
In addition, if the
Xpress Insight Server is installed as a Windows Service, you will need to update the Windows Registry relating to the
Xpress Insight Server. The
Xpress Insight Server should be stopped while this update is taking place:
- Under the Registry key, HKEY_LOCAL_MACHNE\SYSTEM\CurrentControlSet\Services\FICO Xpress Insight Server, create or update the value named Environment as a REG_MULTI_SZ multi-line string value.
- In this value, add or update a line JAVA_HOME=<path_to_java>
- If using the default Java, the line should simply read JAVA_HOME=