How to Run AirTOP Versions Requiring Java 17 After Upgrading to Java 21

The latest versions of AirTOP (5.1.3 and later) require Java 21 (64-bit), while earlier versions require Java 17 (64-bit). To install/run both versions in parallel, you must install both Java 17 and Java 21 on the same machine.
 

Steps to Launch AirTOP Versions Requiring Java 17

To ensure older AirTOP versions use Java 17, follow these steps:

1. Open the startup script

  • Navigate to your AirTOP installation folder.
  • Open the appropriate .bat file using a text editor:
    • Standard version: AirTOP_64bits_3gb.bat
    • USL/TSL version: AirTOP.bat (located in the Program Files directory)

2. Update the Java path

  • Locate the following line in the file: PATH %PATH%;%JAVA_HOME%\bin
  • Replace it with: set PATH=C:\Program Files\Eclipse Adoptium\jdk-17.0.18.8-hotspot\bin;%PATH%
  • Update the path above to match your local Java 17 installation directory.
    - Example: C:\Program Files\Eclipse Adoptium\jdk-17.x.x\bin
  • Save the modified .bat file. Launch AirTOP using this script to ensure it runs with Java 17.

 

Notes

  • No changes are required for AirTOP compatible with Java 21; it will use Java 21 by default.
  • Ensure both Java versions remain installed to avoid compatibility issues.