Verify Java SDK requirements

The Java SDK is used by the following system components:

  • The Lawson installer program. The Java SDK must reside on each machine where the program will be run.

  • The web server and/or application server

  • The Lawson system

All Lawson components in the system must point to the same Java SDK.

  1. Verify that JAVA_HOME is set to the directory where you installed the Java SDK.

    echo $JAVA_HOME

  2. Integrity users only Place the LAW_JAVA_BIN variable in your system PATH.

    export PATH=$LAW_JAVA_BIN:$PATH

    Note: Ensure that $LAW_JAVA_BIN appears in the system PATH before opt/java17 or /opt/java18.

    To verify, type

    echo $PATH

  3. Verify that the correct version of the Java SDK is installed. At the command line, type

    java -version

    Note: If the java -version command does not return the correct version of Java , you may have more than one version of Java on your machine. Ensure the PATH variable points to the correct version of Java.
  4. Verify the Java path is correct. Type

    which java

    The Java path returned must match the $JAVA_HOME/bin value.