Ph3n1x 0 Report post Posted October 22, 2016 (edited) I am trying to integrate my application more into OS X. When my main class is com.example.HelloWorld, then usually the name in the dock is HelloWorld, unless you change it with -Xdock:name="MyProgram". Sadly, this does not work with Excelsior! It also seems, that the resulting main class after jetcp is named "app", as that is always the name in the dock when I start the jet optimized file. Edit: I am using the maven plugin: <jvmArgs> <jvmArg>-Xdock:name="MyProgram"</jvmArg> </jvmArgs> Edited October 22, 2016 by Ph3n1x Share this post Link to post Share on other sites
Ph3n1x 0 Report post Posted October 23, 2016 I figured out, that the name 'app' does not come from the main class name, but from the directory I started it from. When I start the application from the directory 'test', in the dock the application is also named 'test'. Share this post Link to post Share on other sites
cypok 0 Report post Posted October 26, 2016 Hello, you should use JVM options -Dapple.awt.application.icon -Dapple.awt.application.name instead of -Xdock:icon -Xdock:name for customizing your AWT application using Excelsior JET. Please note that for better user experience on OS X you may pack your application as an application bundle: https://github.com/excelsior-oss/excelsior-jet-maven-plugin#creating-os-x-application-bundles-and-installers -- Excelsior Support Share this post Link to post Share on other sites
Ph3n1x 0 Report post Posted October 26, 2016 Thanks a lot, that helped me! Share this post Link to post Share on other sites