我创建了一个在Mac上运行的sample.app文件,这个.app文件是用。创建的 来自URL
的参考资料 - This .app file contains
----> Content (Folder)
----> info.plist
----> MacOS(subfolder)
---->ButtonDemo.jar (runnable jar)
---->launch (unix executable script)
----> Resources(subfolder)
----->application.icns(icon images)
- Same above procedure I followed for my runnable (iwb.jar) file which are placed accordingly with its dependencies ,
- This iwb.app file contains
----> Content (Folder)
----> info.plist
----> MacOS(subfolder)
---->iwb.jar (runnable jar)
---->DerbyDatabase (dependent database)
---->jre (dependant jre)
---->props (property configuration)
---->server (jetty server)
---->launch (unix executable script)
----> Resources(subfolder)
----->application.icns(icon images)
以下是iwb.jar(runnable jar)。如果执行它,它将启动jetty服务器应用程序并使用JettyServer主页打开浏览器。
但是我得到以下异常:" LSOpenURLsWithRole() failed with error - 10810 " on Mac OS X version 10.8.4