124 questions
0 votes
1 answer
806 views
Macos Unsupported class file major version 68 when building a React Native app
I'm trying to run and install a React Native app, but during the build process I get the following error: yarn android: info A dev server is already running for this project on port 8081. info ...
1 vote
1 answer
304 views
Exception in thread "main" java.lang.UnsupportedClassVersionError: RemoteTestNG has been compiled by Java Runtime version 55.0,
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/testng/remote/RemoteTestNG has been compiled by a more recent version of the Java Runtime (class file version 55.0), ...
1 vote
1 answer
1k views
Spotbugs issue with Java 17
I am using spotbugs in my grails application with Java 11 and it is working fine. But when I upgraded to Java 17 it is causing error. I even tried using spotbugs version which is compatible with Java ...
1 vote
0 answers
1k views
Unable to run sonarqube scan due to java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation
Below is jdk 17 having class version 61 as set in the Path: C:\Program Files\Java\jdk-17\bin>java -XshowSettings:properties -version Property settings: file.encoding = Cp1252 file.separator ...
1 vote
1 answer
3k views
Android studio how to fix "Unsupported class file major version 64"
Whenever I try to build or clean the project or try again. I am getting the following error Unsupported class file major version 64 I am stuck to this problem and unable to find the solution gradle-...
8 votes
2 answers
18k views
Unsupported class file major version 64
FAILURE: Build failed with an exception. Where: Build file 'D:\D\FitCoachApp\fit_coach_app\android\build.gradle' What went wrong: Could not compile build file 'D:\D\FitCoachApp\fit_coach_app\android\...
0 votes
1 answer
614 views
How to run jar on different computer without JDK? [duplicate]
I created Java application and built a jar file. I can run this jar on my computer, but when I try to run it on other computer (with no JDK installed) by double click on jar, I'm getting an error: A ...
2 votes
1 answer
1k views
Get java class version from javac or JRE without a compiled class
Java class version can be obtained from a class binary using javap javap -verbose Test | grep 'minor\|major' minor version: 0 major version: 55 Is it possible to know in advance which class ...
1 vote
1 answer
283 views
org/apache/logging/log4j/util/Base64Util.class: Class Version Error Please recompile with supported JDK
/build/Debug/ant/pdm.jar!/META-INF/versions/9/org/apache/logging/log4j/util/Base64Util.class: Class Version Error. Please recompile with a supported JDK or check for an update to DashO which ...
0 votes
0 answers
515 views
Error: A JNI error has occurred, please check your installation and try again in Eclipse -Maven project-Windows 11
In my Eclipse photon version 2018 try to execute my code using TestNG while facing this error. Kindly refer the error at my console Exception in thread "main" java.lang....
0 votes
1 answer
1k views
Intellij IDEA UnsupportedClassVersionError [duplicate]
I am trying to deploy a Hibernate test project on an Application Server (tried Glassfish 5.0.1 & Tomcat 9.0.64) but I get the following error: java.lang.RuntimeException: java.util.concurrent....
55 votes
5 answers
125k views
Android Studio Error "Unsupported class file major version 61"
I moved my Android Studio project from one computer to another computer and now I get this error: "Unsupported class file major version 61" . How can I fix this?
0 votes
1 answer
2k views
Python using Tabula / Java unsupported ClassVersion?
i try to use the tabula-module with python and have this code: import tabula file = "input.pdf" tables = tabula.read_pdf(file, pages = "all", multiple_tables = True) When i try to ...
1 vote
2 answers
22k views
How do I solve java.lang.UnsupportedClassVersionError? [duplicate]
I'm using maven, and I'm using vs code as my editor, and when I run mvn package, and then: java -cp target/rationalclosure-1.0-SNAPSHOT-jar-with-dependencies.jar org.rationalclosure.App in order to ...
0 votes
2 answers
2k views
java.lang.unsupportedclassversionerror in gradle build
Am getting java.lang.unsupportedclassversionerror in gradle build, it is a multiproject gradle build. Am using Java-8 and it was working so far but, all of a sudden it stopped working and started ...