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

Nextflow language server crashes: this version of the Java Runtime only recognizes class file versions up to 55.0 #58

Closed
nschan opened this issue Nov 7, 2024 · 4 comments

Comments

@nschan
Copy link

nschan commented Nov 7, 2024

Hello,

I am unable to run the nextflow language server in VSCode. I receive this error:

Error: LinkageError occurred while loading main class nextflow.lsp.NextflowLanguageServer
	java.lang.UnsupportedClassVersionError: nextflow/lsp/NextflowLanguageServer has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
  Code: -32097 

The system I use is old, so I assume this is the reason, but I could not find a mention of the minimum requirements for this plugin anywhere.

@nschan
Copy link
Author

nschan commented Nov 7, 2024

This is probably a duplicate of this nextflow-io/vscode-language-nextflow#35 ; sorry I did not realize that there were two different repos for this.

@nschan nschan closed this as completed Nov 7, 2024
@bentsherman
Copy link
Member

No problem. Was your issue that you were using Java 11? Minimum requirement is Java 17, but we're also seeing errors like this even for users with Java 17, so we're still investigating that

@nschan
Copy link
Author

nschan commented Nov 13, 2024

Yes, I am using Java 11.

@bentsherman
Copy link
Member

Upgrading to 17 should make things work. Let me know if it still crashes

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

2 participants