Configure Amazon Corretto
Use the steps below to update the environment and configure Amazon Corretto with Infor Lawson System Foundation.
-
With a text editor, open %LAWDIR%\system\
install.cfg
. -
Update the following locations for Amazon Corretto:
-
JAVA_HOME
-
LAW_JAVA_BIN
-
LAW_JAVA_HOME
For example:
JAVA_HOME=E:\corretto\jdk1.8.0_212 LAW_JAVA_BIN=E:\corretto\jdk1.8.0_212\bin LAW_JAVA_HOME=E:\corretto\jdk1.8.0_212
-
- Save and close the file.
-
Update the
enter.cmd
file. Replace all instances of the Oracle JDK with Amazon Corretto, including values in the path variable. For instructions, see Add third party environment variables to enter.cmd. -
Update the environment. At the command prompt, type
laconfig.exe
- From the Environments list, select your Infor Lawson System Foundation environment. Click Configure.
-
On the Environment
tab, update the following:
- LAW_JAVA_HOME
-
Enter or browse to the Amazon Corretto directory. For example:
E:\corretto\jdk1.8.0_212
- LAW_JAVA_BIN
-
Enter or browse to the Amazon Corretto bin directory. For example:
E:\corretto\jdk1.8.0_212\bin
- Click OK.
- Restart Infor Lawson System Foundation for the changes to take effect.
- Use the steps in Verify Java SDK requirements to verify the Corretto installation.