Open djechelon opened 2 years ago
@djechelon Unfortunately, the export server is compatible with Java 8 only. Version 11 is not supported.
Unfortunately I'm not an expert of Clojure, but very experienced in Java. Would you accept help from community members? I am available to provide help.
Java version compatibility is mainly a cybersecurity issue. Java 8 has gone EOL since long, and it is advisable to switch to a newer version, possibly LTS.
In my case, the Anychart http server is jailed into a local container network, so I already did my job of preventing attacks from the external. But in case the server is to be exposed over the internet, a potential vulnerability in Java 8 (which won't likely be fixed) could be used to make harm.
I could personally call it a day and go live to production with my super-jailed Docker image.
Or...... I could say that the XML error is caused by some Java-XML packages, part of Java EE specifications, dropped out of the standard JRE, causing major compatibility issues with older projects.
There are two simple ways to fix this kind of problems in Java applications:
I'll be glad to contribute up to my best
I am trying to build a Docker image of the Anychart server based on Java 11, which is LTS and better suited for security-critical scenarios unlike Java 8.
Here is my Dockerfile
settings.toml
The build succeeds, but I get a class error on startup
I tried to add as many XML jars as possible to support Java 11, in particular from this discussion. But same error.
Could you advise on running Anychart server on a newer Java version?