简体   繁体   中英

Install4j launcher does not run (MacOS)

I've created a Java SWT app based on this post. I generate the installer and install on my system. When I launch the app, it simply bounces in the dock. When I run the jar manually it works fine (I see the menubar icon). I put a println statement at the beginning of the main method to make sure the java code is executed. When I run ./MacOS/JavaApplicationStub on the command line from the app directory, there is no output. This leads me to believe the main class is not being executed. Any ideas?

I had to uncheck uses SWT or QT and this fixed the problem. Not sure why that was breaking the launcher.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM