-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Currently, developers using Java 8 or Java 11 face an issue when trying to use the JAIG component, as it is compiled with Java 17 (class file version 61.0). These older Java versions only support class file versions up to 52.0, leading to the error:
java.lang.UnsupportedClassVersionError: app/jtutor/JAIG has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0.
This limits the usability of JAIG for developers working on legacy projects or environments where upgrading the Java Runtime is not feasible. To support such projects and avoid forcing upgrades, we need a solution that ensures JAIG can be utilized in environments running older Java versions.
Proposed Solution
Explore options to make JAIG compatible with older Java runtime environments. Potential approaches include:
- Executable Distribution: Utilize GraalVM to create a native executable that does not rely on the system's Java runtime.
- Backward Compatibility Mechanism: Implement a solution to allow JAIG to run independently of the system's Java version.