You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to build an extension using rush CLI, the build process fails with the following error message:
Can't process class [com/sgview/nfccheck/Nfccheck.class] (Unsupported version number [65.0] (maximum 58.0, Java 14))
This indicates that the class file was compiled with Java 21 (version 65.0), which is not supported by the build tools that only support up to Java 14 (version 58.0).
To Reproduce
Steps to reproduce the behavior:
Set up the project with rush CLI.
Attempt to build the project by running rush build.
Observe the error message during the build process.
Expected behavior
The project should compile successfully without any version compatibility errors, producing the expected extension files.
Screenshots
Desktop (please complete the following information):
OS: Windows 10
Version: Java 21 (used during compilation), Rush CLI version 1.0.0
Additional context
The issue arises due to a mismatch between the Java version used to compile the classes and the maximum supported version by the build tools. The build tools only support up to Java 14, while the classes were compiled with Java 21. To resolve this, ensure that all class files are compiled using Java 8 or Java 14. Reconfigure your development environment to use a compatible Java version, and update the JAVA_HOME environment variable to point to the correct JDK installation.
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
When trying to build an extension using
rush
CLI, the build process fails with the following error message:This indicates that the class file was compiled with Java 21 (version 65.0), which is not supported by the build tools that only support up to Java 14 (version 58.0).
To Reproduce
Steps to reproduce the behavior:
rush
CLI.rush build
.Expected behavior
The project should compile successfully without any version compatibility errors, producing the expected extension files.
Screenshots

Desktop (please complete the following information):
Additional context
The issue arises due to a mismatch between the Java version used to compile the classes and the maximum supported version by the build tools. The build tools only support up to Java 14, while the classes were compiled with Java 21. To resolve this, ensure that all class files are compiled using Java 8 or Java 14. Reconfigure your development environment to use a compatible Java version, and update the
JAVA_HOME
environment variable to point to the correct JDK installation.The text was updated successfully, but these errors were encountered: