-
Notifications
You must be signed in to change notification settings - Fork 25
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
JNI Error #33
Comments
Check this StackOverflow answer (In short - you probably have a problem with java version) |
Sooo What Java Version should I use with this? |
Java >= 8 If it still doesn't work, try running the jar from cmd to see the exact error message like so: |
It doesn't work with Java 8, It works when I install JDK 15 tho Thx for your help! |
Hey, I also had this error & this thread really helped! I think it would be helpful to pin or allude to this error somewhere on the readme. |
done :) |
Run CMD> java -jar png-upscale-1.0_Windows64bit.jar If you get this error: You need to install Java SE v15 or higher, as indicated in this table that shows the mapping between Java SE Version and Major Version: The table is taken from: java.exe executable is in C:\Program Files\Java\jdk-21\bin directory, so that is what you need to have in PATH. Use Rapid Environment Editor tool (https://www.rapidee.com) to quickly verify or edit the environment variables on Windows. The solution is to have Java 15 (or higher) bin directory in PATH or above instead of Java 8. On Windows you may have C:\Program Files (x86)\Common Files\Oracle\Java\javapath added to PATH automatically which points to Java 8. If that is the case, remove the Java 8 part from PATH and then logout/login or reboot for the changes to have effect. |
System: Windows 10
When I try to start the Exe file and windows pop up said Error: A JNI error has occurred, please check your installation and try again, this happened on both Jar and exe.
The text was updated successfully, but these errors were encountered: