All Users,
Java is NOT free anymore if you obtain it from Oracle. Starting with Update 211 released on April 16, 2019, Oracle requires commercial users to pay a license fee. No immediate action is required if you continue to use an earlier version of Oracle's Java, but this is not a viable plan for very long. If you have inadvertently downloaded Update 211 or later from Oracle, you should uninstall it immediately.
Fortunately, there is an easy solution -- Java is still free open source software so it can be obtained from other sources. The version that we have started to use is from AdoptOpenJDK.net. It is easy to download and install the software. They offer a choice of versions -- the one that is closest to the last free Oracle release is OpenJDK 8 (LTS). Once it is installed, the JaamSim jar file will use the new software automatically. You should see a different icon next to the jar file. If you only use the jar file to launch JaamSim, there is nothing else you need to do.
One more step is required if you want to use one of the JaamSim exe files to launch the software. For the exe files to work correctly, you need to add a new System Variable to Windows. The following instructions are for Windows 10:
- Press the 'Command' and 'S' keys to bring up the Search tool
- Enter 'System' and select 'Control Panel'
- In the Control Panel, select 'System and Security', then select 'System', and finally select 'Advanced System Settings' to bring up the System Properties tool
- In System Properties, click on the 'Environment Variables' button
- In Environment Variables, click on the 'New...' button at the bottom of the window, under System Variables
- Enter 'EXE4J_JAVA_HOME' for the variable name and 'C:\Program Files\AdoptOpenJDK\jdk-8.0.212.03-hotspot' for the Variable Value. It is best to use the Browse Directory button to find the correct location of your AdoptOpenJDK folder and correct name for the jdk sub-folder which will change as new Java updates become available.
If the above seems a bit daunting, you can always use the jar file instead of the exe. JaamSim can be launched by double-clicking on the jar file in the same way as an exe file.
Harry