On a new install, I am getting a java.lang.NoClassDefFoundError
when launching OmegaT 5.4 beta (see screenshot for details). The error is not fatal, as I can simply OK it and apparently have no further problem.
I am running OmegaT under Arch Linux with java-14-openjdk.
Version is actually 5.3.0.
Diff:
OmegaT does not claim compatibility with Java 14. We officially support only Java 8 and Java 11 for now.
Ticket moved from /p/omegat/bugs/1024/
Since this is not a bug (it's expected behavior) I have moved it to Feature Requests.
Upcoming Java17 in Sep. 2021 will be LTS and it would be good next target to be a base version.
Current Java 8 is supported until May 2026 at least, and Java 17 may be supported until Sep. 2026 at least.
Has @amake a planed timeline for next supported Java platform and migrations paths?
I haven't planned anything. The only thing I feel strongly about is that we should keep Java 8 support probably until EOL, although I am willing to reconsider if keeping Java 8 conflicts with some other very important goal.
The only thing standing in the way of support for new Java versions is that no one has done the work to fix the incompatibilities.
OmegaT 5.6 (master branch) on Java 14.0.2 run well but warn as follows
Groovy reflection error is not happened. IMHO, Groovy version is updated from OmegaT 5.3.0.
Last edit: Hiroshi Miura 2021-06-27
As of [50723f] OmegaT launches without error for me on Java 16, though I haven't tested it thoroughly.
I don't see much value to declaring explicit support for Java 14, as opposed to targeting Java 17 as Hiroshi suggested. So I will repurpose this ticket for Java 17.
The built-in Nashorn JavaScript engine was removed in Java 16 so that will be a blocker for this. [#1575] would address it.
Related
Commit: [50723f]
Feature Requests:
#1575The built-in Nashorn JavaScript engine was removed in Java 16 so that some script will lost execution engine. Many scripts are written by Groovy but some in Javascript.
we can see two js script in
scripts
folder.When we want to keep support js as OmegaT script, it will be also a blocker.
Is this relevant ?
https://www.graalvm.org/22.2/reference-manual/js/NashornMigrationGuide/
https://mvnrepository.com/artifact/org.openjdk.nashorn/nashorn-core
JAXB generation is also an issue for Java 17 compatibility.
Related
Commit: [42eb82]
Feature Requests: #1583
Related
Commit: [42eb82]
Feature Requests:
#1583Last edit: Aaron Madlon-Kay 2021-07-22
OpenJDK 17 is out in 14, Sep., 2021 with color emoji support on macOS (and M1 mac).
Now it is good chance to evaluate OmegaT on Java17.
Related
Bugs: #1043
Last edit: Aaron Madlon-Kay 2021-10-08
Just try Java17 on Mint Linux (Ubuntu package).
LGTM.
Related https://sourceforge.net/p/omegat/feature-requests/1625/
Commit 996253e7ce8a08abc16098054f80bbcdfee7b445 update Groovy 4.0.11
Now bundles JRE17 with OmegaT 6.1 Weekly.