Follow

@tdp_org upgrade /usr/bin/java or recompile the .jar with an older javac/options

@tdp_org linux? there should be an openjdk package in your disto's list. Mac? dunno. Win? Get one from Chocolatey or similar.
Don't use Oracle's downloads. If they find you they'll set the lawyer's on you

@tdp_org @falken@qoto.org azul.com/downloads/?package=jd is a good source of openjdk for a wide range of platforms - avoiding the Oracle sales droids.

@tdp_org Java class file version of 52 corresponds to Java 8, which is ancient. Looks like you are trying to run code compiled for Java 11.

I doubt you actually downloaded Java 8, so it might be more of a $PATH problem.

Its also likely that your distro has a version of Java greater than 11 in its package manager too, I try that first.

@tdp_org baffling, I have no idea why java.com only provides a 10 year old release.

Where as the oracle site gives you an upto date release:

oracle.com/uk/java/technologie

Got to love Oracle and there approach to communities.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.