-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run my project on Java 16 #260
Comments
You have to start the JVM of Java 16 with Option |
Could you elaborate on this solution a bit? What side effects does it have, why is it needed? When using it, my Java says: |
XStream mimics Java serialization, which does a lot of stuff that is not possible with public API. Java 16 changed the preference for the --illegal-access option to allow this access. |
Are there any ways around this? It seems like this option is removed in Java 17:
|
I managed to resolve it by passing these parameters: |
Hi,
I just ported my project from older computer to a new one where I have JDK 16 installed, and my app crashes:
Any idea why? Was working well with some much older JDK on the other computer.
The text was updated successfully, but these errors were encountered: