Skip to content
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

Error: Unrecognized option: --enable-preview #6

Open
edap opened this issue Aug 23, 2022 · 3 comments
Open

Error: Unrecognized option: --enable-preview #6

edap opened this issue Aug 23, 2022 · 3 comments
Assignees

Comments

@edap
Copy link

edap commented Aug 23, 2022

Hello, I have installed this software on ubuntu but I have this error:

Unrecognized option: --enable-preview -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
@BullShark
Copy link
Owner

Which version of JDK/JRE are you using? Have you tried a different version of JRE/JDK?

java -version

@edap
Copy link
Author

edap commented Sep 4, 2022

I am using javac 11.0.16

@BullShark
Copy link
Owner

BullShark commented Sep 4, 2022

So I tried installing Java 11.0.16 using sdkman in Manjaro, and it works for me. I'm not able to reproduce your error.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants