Configure Amazon Corretto

Use the steps below to update the environment and configure Amazon Corretto with Infor Lawson System Foundation.

  1. With a text editor, open $LAWDIR/system/install.cfg.
  2. Update the following locations for Amazon Corretto:
    • JAVA_HOME

    • LAW_JAVA_BIN

    • LAW_JAVA_HOME

    For example:

    JAVA_HOME=/usr/java/jdk1.8.0_202/usr/lib/jvm/java-1.8.0-amazon-corretto
    LAW_JAVA_BIN=/usr/java/jdk1.8.0_202/usr/lib/jvm/java-1.8.0-amazon-corretto/bin
    LAW_JAVA_HOME=/usr/java/jdk1.8.0_202/usr/lib/jvm/java-1.8.0-amazon-corretto
  3. Save and close the file.
  4. Update the Environment Configuration file. Replace all instances of the Oracle JDK with Amazon Corretto, including values in the path variable. For instructions, see Updating the Environment Configuration File.
  5. Restart Infor Lawson System Foundation for the changes to take effect.
  6. Use the steps in Verify Java SDK requirements to verify the Corretto installation.