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

Moppy 2.10 won't open #117

Closed
Amakes opened this issue Dec 7, 2020 · 11 comments
Closed

Moppy 2.10 won't open #117

Amakes opened this issue Dec 7, 2020 · 11 comments

Comments

@Amakes
Copy link

Amakes commented Dec 7, 2020

When I try to open Moppy 2.10 it opens a file that looks like a terminal, and then it closes it after a second.

@Sammy1Am
Copy link
Owner

Sammy1Am commented Dec 7, 2020

Probably a JAVA_HOME or Java versioning issue. You can check the log file (somewhere near the .bat file you're opening), or you can run the .bat file from the command line instead (Open up the command prompt first and then type the name of the .bat file) to see the error.

You'll need to have JAVA_HOME set properly, and have at least Java 12.

@Amakes
Copy link
Author

Amakes commented Dec 7, 2020

How would I fix the java issue? It is the newest version of java because I installed it yesterday.

@Sammy1Am
Copy link
Owner

Sammy1Am commented Dec 7, 2020 via email

@Amakes
Copy link
Author

Amakes commented Dec 7, 2020

I says it is not a internal or external .bat file that it can open

@Amakes
Copy link
Author

Amakes commented Dec 7, 2020

Here is more precisely what is says:
'This' is not recognized as an internal or external command,
operable program or batch file.

@Sammy1Am
Copy link
Owner

Sammy1Am commented Dec 7, 2020 via email

@Amakes
Copy link
Author

Amakes commented Dec 7, 2020

This is what it is saying this time:
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/moppy/control/MoppyControlGUI has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

@Sammy1Am
Copy link
Owner

Sammy1Am commented Dec 7, 2020 via email

@Amakes
Copy link
Author

Amakes commented Dec 7, 2020

How would I adjust JAVA_HOME

@Amakes
Copy link
Author

Amakes commented Dec 7, 2020

I just got it to open! Thank you for all your help. Apparently it had installed version 8 again.
Thanks Again.

@Amakes Amakes closed this as completed Dec 7, 2020
@Sammy1Am
Copy link
Owner

Sammy1Am commented Dec 7, 2020

Glad you got it working!

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