audiveris icon indicating copy to clipboard operation
audiveris copied to clipboard

Cannot start on Windows 10

Open charlyms opened this issue 1 year ago • 8 comments

Something went wrong with my installation of Audiveris_Setup-5.3.1-windows-x86_64.exe on Win 10 Home 22H2. As a layman I describe it as follows: The program tries to start, the command line opens for a second but fails immediately. What is missing? Charlyms

charlyms avatar Mar 20 '24 17:03 charlyms

We can suspect a too old Java environment on your machine.

You can simply check your installed Java version by the command:

java -version

The 5.3.1 release needs Java 17 or higher. So please install Java 17 if needed.

hbitteur avatar Mar 20 '24 19:03 hbitteur

Can the .bat and .sh files not detect whether the required version of Java is installed. I see that it does check whether Java is installed at all, but it doesn't check whether the version is sufficiently high.

igitur avatar Aug 06 '24 09:08 igitur

Can the .bat and .sh files not detect whether the required version of Java is installed.

Yes we can! :-) So much that this is already implemented in 5.4-alpha (see app:build.gradle lines 274..290 on the development branch) We should release 5.4 shortly

hbitteur avatar Aug 06 '24 18:08 hbitteur

@hbitteur Great thanks. I was about to try to submit a PR for this. Was struggling to find where the .bat is, but now you've pointed me to the build process.

igitur avatar Aug 07 '24 08:08 igitur

Thank you all for your help!

charlyms avatar Aug 07 '24 09:08 charlyms