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

Debugging java file gives linkage error #577

Open
AryanPandeyy opened this issue Mar 7, 2022 · 0 comments
Open

Debugging java file gives linkage error #577

AryanPandeyy opened this issue Mar 7, 2022 · 0 comments

Comments

@AryanPandeyy
Copy link

I'm running java-17-openjdk on my arch system.
and I do have installed java-11-openjdk but its not set default.
So whenever I try to run dap-java-debug
Error: LinkageError occurred while loading main class Mergesort java.lang.UnsupportedClassVersionError: Preview features are not enabled for Mergesort (class file version 61.65535). Try running with '--enable-preview'
It give me this error.

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

1 participant