简体   繁体   中英

install4j launcher doesn't work on macOS

I have a Java project and I'm using Install4J to deliver and launch. On Windows and Linux anything is fine, but on Mac the launcher app doesn't work (it appears for a moment then exits). Media for macOS is macOS single bundle.

macOS version is 10.13.2 (17C88) and Install4J version is 7.0.3.

LE: The updated question is how can I see the console log or stderr output.

You can execute the application bundle from the command line with

MyApp.app/Contents/MacOS/JavaApplicationStub 

to see the standard error output. If nothing is printed, execute it like this

INSTALL4J_LOG=yes MyApp.app/Contents/MacOS/JavaApplicationStub 

to get debugging information from the native 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