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

Compatibility problems on Linux #1

Closed
lordfeck opened this issue Nov 10, 2020 · 1 comment
Closed

Compatibility problems on Linux #1

lordfeck opened this issue Nov 10, 2020 · 1 comment

Comments

@lordfeck
Copy link

Greetings,

I've tried running the jarfile on both Debian and Void Linux. Unfortunately, in either case, I get a similar error on startup:

$ java -jar Microcraft_10.jar 
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/jdh/microcraft/Main has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java Runtime only recognizes class file versions up to 52.0

On Void at least, my Java version is:

$ java -version
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-b02)

I might have better luck compiling the source myself, but I thought I should raise the issue nonetheless.

@jdah
Copy link
Owner

jdah commented Nov 10, 2020

Hey there,

This isn't actually a compatibility issue, you just have an outdated JRE. You'll need to upgrade to the latest (Java 14+) to run things. I would give instructions, but they'll vary depending on your selected flavor of Linux. I'll note this in the documentation.

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