Sammy1Am / Moppy2

The evolution of the Musical flOPPY controller
Other
309 stars 50 forks source link

MoppyControlGUI.bat crashes #203

Closed OlegMoore1488 closed 8 months ago

OlegMoore1488 commented 8 months ago

Hi, I have a problem with moppy2. When starting the bat file, it crashes, I did everything as written in the guide.

Sammy1Am commented 8 months ago

Try running the .bat file from the command line so you can see which error is being reported. Most likely you either need a newer version of Java, or JAVA_HOME is not set correctly.

On Sun, Nov 5, 2023, 13:36 OlegMoore1488 @.***> wrote:

Hi, I have a problem with moppy2. When starting the bat file, it crashes, I did everything as written in the guide.

— Reply to this email directly, view it on GitHub https://github.com/Sammy1Am/Moppy2/issues/203, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADSF6EBKRGQEXSIEB2SFOTYDABFDAVCNFSM6AAAAAA66TPKW2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TOOJYGA4DMMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

OlegMoore1488 commented 8 months ago

зображення_2023-11-05_235303111 here is the error itself

Sammy1Am commented 8 months ago

You are attempting to run Moppy with Java 8. You need at least Java 11 (but even 11 is pretty old, you should just use the latest release).

OlegMoore1488 commented 8 months ago

installed the latest version of Java (21) it still does not start image

Sammy1Am commented 8 months ago

Java 8 is still installed and is either set in JAVA_HOME or in your path variable. Sometimes uninstalling Java 8 will resolve this, though you then might have an error about JAVA_HOME not being set and will need to set it manually anyway.

OlegMoore1488 commented 8 months ago

I deleted all old versions of Java, leaving only Java version 21, but it still does not start зображення_2023-11-06_003014841 what else could be the problem?

Sammy1Am commented 8 months ago

You missed an instance of Java 8 somewhere.

Try echo %JAVA_HOME% in a command prompt and let me know what the output is.

OlegMoore1488 commented 8 months ago

image I don't know what the problem is, I deleted the 8th version of Java completely, but in the console it says that it still exists, but if you go down the path, there is nothing image

Sammy1Am commented 8 months ago

Weird. There's still a Java 8 somewhere because Java 8 is what's outputting the error message you're getting (it would say something other than 52.0 if it were not Java 8).

Perhaps try setting your JAVA_HOME variable to point to the Java 21 installation.

OlegMoore1488 commented 8 months ago

i already fixed everything, everything works perfectly. thanks for the help