Elias
LTLeaning Technologies
•Created by Elias on 3/21/2024 in #support
Options for running Java versions more recent than Java 8
I'm a doctoral researcher, and part of my tasks is providing technical support for grading student projects for a Java course.
I won't get into the details, and instead just state my goal: I would like students and teaching assistants to be able to run student projects in the browser.
The issue I am running into is that we target source level 21, so CheerpJ rejects the JAR outright. For educational reasons we don't want to lower this to 8, even though 99% of code should be compatible with 8.
So, my question: what are my options here?
Are there experimental builds supporting Java 21 (or 17)?
Is there a way to compile newer bytecode to an older version?
Thanks in advance!
13 replies