What to do when the Java install location changes

, ,

When Java is updated or moved on the Lawson server, the application will also need to updated to use the new location.

First, update the system environment variables JAVA_HOME and LAW_JAVA_HOME.  Also, update those entries in install.cfg so that location will be used for future updates.

You may also need to run the command to update the environment parameters.  Create an XML file with the following data (using your new location for java):

Then, navigate to GEN_DIR/bin and run the LaMgmtCmd.exe command with the -u option to update the environment parameters:

LaMgmtCmd.exe -u <environment> <update file>

To view your environment parameters, run the LaMgmtCmd command with the -r option