How to change the Java application name shown in the Mac OS X launchpad

前端 未结 4 2028
予麋鹿
予麋鹿 2021-02-20 07:33

When my application written in Java with SWT runs under OS X, both from under Eclipse and from jar, its name in

4条回答
  •  渐次进展
    2021-02-20 07:51

    You should create a macOS app bundle with your jar, where you can put the bundle display name in the Info.plist file of the bundle.This is well documented by Oracle (http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.html).

    The structure of a Java app bundle is documented by Apple as well: https://developer.apple.com/library/content/documentation/Java/Conceptual/Java14Development/03-JavaDeployment/JavaDeployment.html

提交回复
热议问题