KRE 10.1.0 Is giving Java Runtime error

Hi @shashi1991.s,

Thank you for sharing your issue.

The error message indicates a Java version compatibility issue. Specifically, Katalon Runtime Engine (KRE) is trying to execute a module compiled with Java 18 (class file version 62.0), but the installed Java Runtime only supports up to Java 17 (class file version 61.0).

The workarounds you can try are:

1. Verify Your Katalon Version’s Java Requirement

  • Katalon Studio 10.1.0 requires JDK 17 (not Java 18).
  • KRE should match the Java version required by KSE.
  • Check which Java version Katalon is using by running:
    java -version
    
    Ensure it outputs something like:
    openjdk version "17.0.x" 202x-xx-xx
    

2. Ensure KRE is Using the Correct JDK
If you’ve installed JDK 17 but KRE is still using an older version, you can force KRE to use the correct JDK by:

  • Setting the JAVA_HOME environment variable:

    export JAVA_HOME=/path/to/jdk-17
    export PATH=$JAVA_HOME/bin:$PATH
    

    (For Windows: Modify system environment variables)

  • Running KRE explicitly with Java 17:

    /path/to/jdk-17/bin/java -jar katalonc -args
    

3. Reinstall KRE to Match KSE Version

  • Uninstall the old KRE and reinstall the version that matches KSE 10.1.0.
  • Download the correct KRE version from the Katalon website.
  • Try running your test cases again.

4. Clear Cache and Dependencies*

  • Delete the Libs folder and bin folder from your Katalon project, then restart KSE/KRE.
  • Regenerate dependencies by opening Katalon Studio and selecting:
    Project → Clean up
    
  • Try running your test cases again.

Also, I found a similar discussion here which might help:

Let me know if it works/not work. Thank you