AppBundle throws “LSOpenURLsWithRole() failed with error -10810” after compiling with java 7 or 8

空扰寡人 提交于 2019-12-01 16:49:27

I kinda solved the problem. I took a look at a Processing app bundle. I think it mainly has to do with following lines in the info.plist which were missing in mine:

<key>JVMOptions</key>
    <array>

      <string>-Xdock:icon=Contents/Resources/fireworks.icns</string>
      <string>-Dapple.laf.useScreenMenuBar=true</string>
      <string>-Dcom.apple.macos.use-file-dialog-packages=true</string>
      <string>-Dcom.apple.macos.useScreenMenuBar=true</string>
      <string>-Dcom.apple.mrj.application.apple.menu.about.name=Main</string>
      <string>-Dcom.apple.smallTabs=true</string>
    </array>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!