简体   繁体   中英

Anchor Java application in Mac OS X dock?

I have a Java (Swing) application and I want to anchor it in the OS X dock. But, if I try do it, my app don't start correctly. Instead of it, a terminal is starting. Maybe, I must write script to run my app. Maybe, I must create *.app file for my app.

Can you advise some articles on how to anchor a Java application to the Mac OS X dock?

Yes, you need to build an *.app package for your application. You can use the Jar Bundler - it should be supplied with Xcode (haven't used it for a long time, it came with the developer tools from the OSX install CD when I used it).

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