In some scenarios, it may be desirable to use a version of Java other than the version that was shipped and installed with ANSYS License Manager. This section contains instructions for changing the Java version used by ANSYS License Management Center.
Note: Changing the version of Java is only possible when the Java version is newer than the version supplied as part of the ANSYS installation.
Windows or Linux:
Prior to performing the ANSYS License Manager installation, set the following environment variable to point to the location of the Java version you want to use.
ANSYSLM_USER_JAVA_HOME
Run the ANSYS License Manager installation.
Windows:
Set the following environment variable to point to the location of the Java version you want to use.
ANSYSLM_USER_JAVA_HOME
As an administrator, re-run the ANSYS License Manager installation or run ansyslm_config.exe -usemyjava .
By default, ansyslm_config.exe is located in:
C:\Program Files\ANSYS Inc\Shared Files\Licensing\tools\bin\winx64\
Note: When running this command on Windows 8.1, the message "Qt: Untested Windows version 6.2 detected!" may be displayed. You can safely ignore this message.
Linux:
Set the following environment variable to point to the location of the Java version you want to use.
ANSYSLM_USER_JAVA_HOME
Stop any active version of Tomcat by running the stop_lmcenter script.
Run the start_lmcenter script to configure Tomcat to use your version of Java and start Tomcat.
Both the start_lmcenter script and the stop_lmcenter script are located in:
/ansys_inc/shared_files/licensing/