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

Support for Java 11 #36

Open
jeffawx opened this issue Jan 4, 2022 · 0 comments
Open

Support for Java 11 #36

jeffawx opened this issue Jan 4, 2022 · 0 comments

Comments

@jeffawx
Copy link

jeffawx commented Jan 4, 2022

MacOS, installed with brew install protop, v0.9.0

Run protop init, get error:

Error: LinkageError occurred while loading main class io.protop.cli.ProtopCli
	java.lang.UnsupportedClassVersionError: io/protop/cli/ProtopCli has been compiled by a more recent version of the Java Runtime (class file version 57.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Java version:

openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)

Expected behavior:
Given Java 11 is still widely used, better to support Java 11

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