-
Notifications
You must be signed in to change notification settings - Fork 235
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
Building from sources failed on Mac #673
Comments
Gradle 7.3 comes from the file You should try to use Java 17 instead of Java 20. |
Using Java 17 works when getting "Unsupported class file major version 65"! |
FYI:
|
I built the latest development branch on an Apple M1 Pro running Sonoma 14.3.1 Gradle 8.6 Seems to work well as far as I can tell as I was able to convert a PDF to musicXML. However, I get the following messages in the console:
and
|
1/ Regarding the problem with OCR, the very beginning of your log file says:
In plain English, the Tesseract library could not find the needed language data files. 2/ Regarding the problem with Mac environment, the log file gives:
I personally don't have access to a Mac, so I can't help you directly here. But the error message looks familiar. This appeared with Java 9, when the Java implementation was reorganized, with a stronger "protection" against access to the internal modules. Of course, not all software around the world could instantly adapt to the new rules. See these lines in the file
I suppose you have to use something similar, perhaps:
But, like I said, I cannot check by myself. |
Thank you! Regarding OCR, that's on me since I should have read the handbook more closely. Regarding the second issue, changing line 71 in build.gradle to
did not change the error message. I saw that you posted the same suggestion in #564 a few months ago. Whatever the source is, it's still unresolved (I also just compiled Audiveris on an older Intel-based apple and get the same error). Anyway, as I said it doesn't seem to have an impact on function. I can open PDFs and export to .mxl. I appreciate your work creating and maintaing this software. |
Hi,
When building Audiveris on my Mac, I have this error :
FAILURE: Build failed with an exception.
Where:
Settings file '/Users/jeremiefays/audiveris/settings.gradle'
What went wrong:
Could not compile settings file '/Users/jeremiefays/audiveris/settings.gradle'.
startup failed:
General error during conversion: Unsupported class file major version 64
I have openjdk version "20.0.2" installed on my Mac, and Gradle 8.3
Could it be due to having a later version than java 17 installed on my computer ? Also, I see that even though Gradle 8.3 is installed on my computer, the build starts by installing gradle 7.3 (which is perhaps incompatible with java 20)
Any idea on hom to solve this problelm ?
The text was updated successfully, but these errors were encountered: