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?
Asked
Active
Viewed 84 times
1 Answers
0
I had to uncheck uses SWT or QT and this fixed the problem. Not sure why that was breaking the launcher.

user3590294
- 11
- 3
-
The post you linked in your question shows an AWT application, not a SWT application. – Ingo Kegel Jul 27 '16 at 06:01