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

java.lang.IllegalArgumentException: Unsupported class file major version 62 #73

Open
ParzivalWolfram opened this issue Jan 28, 2023 · 1 comment

Comments

@ParzivalWolfram
Copy link

Running JDA on Debian Sid under openjdk-18-jre. Opening any JAR file will show the list of classes, but claim that the class file major is unsupported, including those of the same version as the JRE. Am I missing something?

@tnais
Copy link

tnais commented Oct 3, 2024

Happens also using

openjdk 21.0.4 2024-07-16
OpenJDK Runtime Environment (build 21.0.4+7-Ubuntu-1ubuntu224.04)
OpenJDK 64-Bit Server VM (build 21.0.4+7-Ubuntu-1ubuntu224.04, mixed mode, sharing)

and when the major version is 61

Stack trace:

Error while decompiling NFDCSMainGUI.class:
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.(ClassReader.java:195)
at org.objectweb.asm.ClassReader.(ClassReader.java:176)
at org.objectweb.asm.ClassReader.(ClassReader.java:162)
at club.bytecode.the.jda.util.BytecodeUtils.loadClass(BytecodeUtils.java:30)
at club.bytecode.the.jda.FileContainer.loadClassFile(FileContainer.java:31)
at club.bytecode.the.jda.gui.fileviewer.DecompileThread.run(DecompileThread.java:41)

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