Closed CptMauli closed 2 years ago
You are using Eclipse with a Java 16 VM which is not supported. Java 11 is the supported configuration. Or add the permit flag in eclipse.ini
I'm not sure what you mean? That Eclipse on Java 16 is not supported, or that Quarkus on Java 16 is not supported, or that running the Quarkus tools on Java 16 is not supported?
The eclipse is coming with that JRE included, I think it is unreasonable to expect, that a normal user would change that. And as I said, if I change the default JRE in the preferences to Java 11, that error still occurs.
No Quarkus Tools will target Java 16/17 support for next release. We just discovered that Java 16 was packaged with Eclipse. In the meantime, you need to add --illegal-access=permit
in eclipse.ini
I have the lastest Eclipse (2021-09) and the current development version of the quarkus tools (1.4.0.v20210616-2037).
I can start the quarkus application (in debug mode), but its not possible to stop it:
The Eclipse instance is running on the supplied JRE, and this is also the JRE which is used for the start.
If I change the vm in the eclipse.ini (to zulu 11 in my case) it works fine.
So I think there are two things:
1) the bug itself 2) the launcher should have an option to configre the JRE with which it should be run (just like most other launchers)