Sammy1Am / Moppy2

The evolution of the Musical flOPPY controller
Other
311 stars 51 forks source link

Moppy 2.10 won't open #117

Closed Amakes closed 3 years ago

Amakes commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

Sammy1Am commented 3 years ago

What error are you getting?

On Mon, Dec 7, 2020, 12:54 Amakes notifications@github.com wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sammy1Am/Moppy2/issues/117#issuecomment-740174040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADSF6FKJVUV2K3KHWFIKCLSTU6HBANCNFSM4UQWZH6A .

Amakes commented 3 years ago

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

Amakes commented 3 years ago

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

Sammy1Am commented 3 years ago

That just means it can't find the .bat file you typed in. Make sure you're in the same directory as the .bat file before running it, and make sure you've spelled the file name correctly.

On Mon, Dec 7, 2020, 13:00 Amakes notifications@github.com wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sammy1Am/Moppy2/issues/117#issuecomment-740176852, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADSF6DMKIHI6KO7HIFFNJTSTU65ZANCNFSM4UQWZH6A .

Amakes commented 3 years ago

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 commented 3 years ago

Version 52 indicates that you're trying to run Moppy using Java 8. If you've installed multiple versions of Java, you can try removing the older versions, but you may need to adjust JAVA_HOME to point to the version you want to use.

On Mon, Dec 7, 2020, 13:19 Amakes notifications@github.com wrote:

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)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sammy1Am/Moppy2/issues/117#issuecomment-740186094, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADSF6HHBKUUJM34TEBC6I3STVBGBANCNFSM4UQWZH6A .

Amakes commented 3 years ago

How would I adjust JAVA_HOME

Amakes commented 3 years ago

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

Sammy1Am commented 3 years ago

Glad you got it working!