Configuring Java on Windows or UNIX

TIBCO MFT Internet Server supports Java 8, Java 11, and Java 12, or Java 13. We suggest that you install the newest version of the Java 8, Java 11, or Java 13 SDK. IBM Java, OpenJDK, Amazon Corretto, and Oracle Java are supported. If you use Oracle Java, then use either Java 8 or Java 11 since these versions are designated LTS (Long Term Support) versions. GNU Java is not supported.

TIBCO MFT Internet Server installation and configuration requires the bin directory of the JDK to be in your PATH environment variable. Instructions on how to do this are as follows.

Note: If you want to run the application server as a Windows service, you must set the JAVA_HOMEenvironment variable for your system. For more information, see Appendix C. Starting on Startup Automatically.
Note: TIBCO MFT Internet Server cannot be installed using Java 11, Java 12, or Java 13 and then executed with Java 8. If you do, you will receive an exception with an error message like this:

Caused by: java.lang.UnsupportedClassVersionError: AdminClient/AdminServiceService has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [AdminClient.AdminServiceService] )

Before you beginBefore you install MFTIS, a Java Software Development Kit (JDK) must be installed.
    Procedure
  1. Set the JAVA_HOME environment variable to point to the Java\jdk directory.

    For example,

    On Windows:

    set JAVA_HOME=C:\Program Files\Java\jdk-12.0.1

    On UNIX:

    export JAVA_HOME=/opt/java/jdk-12.0.1

  2. Set the PATH variable to point to the Java\bin directory:

    For example,

    On Windows:

    set PATH=%JAVA_HOME%\bin:%PATH%

    or

    set PATH=C:\Program Files\Java\jdk-12.0.1\bin;%PATH%

    On UNIX:

    export PATH=$JAVA_HOME/bin:$PATH

    or

    export PATH=/opt/java/jdk-12.0.1/bin:$PATH

  3. Verify that the path is correctly set by using the following command:

    Windows and UNIX: java –version

    See the following sample output:

    java version "12.0.1" 2019-04-16
    Java(TM) SE Runtime Environment (build 12.0.1+12)
    Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)