Closed cgotschlich closed 2 years ago
You will have to replace "x.y.z" with a valid release number. For example:
mvn clean package -Drevision=1.4.1
I have attached a successful build log (on a M1 machine running macOS Monterey v12.5)
@kinhong thank you for your response! I was able to build, but couldn't get the app to start, similar to what I've experienced on Windows #19. I found the executable under OpenLabeler.app/Contents/MacOS/OpenLabeler and then ran it from the terminal, which produced the following error:
Exception in thread "main" java.lang.RuntimeException: Exception in Preloader start method
at javafx.graphics@18.0.1/com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
at javafx.graphics@18.0.1/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.MissingResourceException: Can't find bundle for base name bundle, locale de_DE
at java.base/java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.base/java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.base/java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.base/java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.base/java.util.ResourceBundle.getBundle(Unknown Source)
at com.easymobo.openlabeler.SplashScreenLoader.start(SplashScreenLoader.java:36)
at javafx.graphics@18.0.1/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$7(Unknown Source)
at javafx.graphics@18.0.1/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(Unknown Source)
at javafx.graphics@18.0.1/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at javafx.graphics@18.0.1/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
at javafx.graphics@18.0.1/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
Failed to launch JVM
@currychris not sure why you needed to run it from a terminal. Can't you just launch it via clicking the OpenLabeler icon in the Applications folder?
@kinhong no, unfortunately I cannot launch it by simply clicking the icon. The icon pops up but then just disappears. I wasn't able to locate any logs, which is why I tried launching from terminal to get any sort of diagnostics
@kinhong I was able to quickly fix this by duplicating the file app/src/main/resources/bundle_en.properties and renaming it to app/src/main/resources/bundle_de.properties
After unsuccessfully trying to install on macOS Monterey (M1), I tried to build it myself following the instructions in README, but the building process failed also: