{"action":"opened","issue":{"url":"https://api.github.com/repos/shoes/furoshiki/issues/16","labels_url":"https://api.github.com/repos/shoes/furoshiki/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/shoes/furoshiki/issues/16/comments","events_url":"https://api.github.com/repos/shoes/furoshiki/issues/16/events","html_url":"https://github.com/shoes/furoshiki/issues/16","id":59505402,"number":16,"title":"JavaAppLauncher for OSX app does not start correctly","user":{"login":"justahero","id":1305185,"avatar_url":"https://avatars.githubusercontent.com/u/1305185?v=3","gravatar_id":"","url":"https://api.github.com/users/justahero","html_url":"https://github.com/justahero","followers_url":"https://api.github.com/users/justahero/followers","following_url":"https://api.github.com/users/justahero/following{/other_user}","gists_url":"https://api.github.com/users/justahero/gists{/gist_id}","starred_url":"https://api.github.com/users/justahero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justahero/subscriptions","organizations_url":"https://api.github.com/users/justahero/orgs","repos_url":"https://api.github.com/users/justahero/repos","events_url":"https://api.github.com/users/justahero/events{/privacy}","received_events_url":"https://api.github.com/users/justahero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T16:32:46Z","updated_at":"2015-03-02T16:32:46Z","closed_at":null,"body":"During the development of a Shoes app I packaged it to run on OSX (10.9.5) with\r\n\r\n```bash\r\n$ shoes -p swt:app app/app.yaml\r\n```\r\n\r\nThe resulting package could not be started via `open ./path-to/Shoes.app`, it crashes with an OSX report dialog. The following environment is used:\r\n\r\n* JRuby 1.7.18 (via rvm)\r\n* shoes gem, version `4.0.0.pre3`\r\n* Java Version \"1.8.0_31\", Java(TM) SE Runtime Environment (build 1.8.0_31-b13)\r\n\r\nFrom what I understand the packaging mechanism of Shoes uses version `0.3.0` of the furoshiki gem. It downloads a template zip file, containing a jar app and injects all Shoes related stuff into it before finalising it. The [jar app template](https://s3.amazonaws.com/net.wasnotrice.shoes/wrappers/shoes-app-template-0.0.1.zip) contains folders and files, for example `Info.plist` in the root and the `Plugins/1.7.0.jdk` folder contains a bundled Java runtime.\r\nUnfortunately the bundled Java runtime inside the template seems to cause trouble on my system. After a bit of research I found the following [StackOverflow answer](http://stackoverflow.com/questions/24582806/creating-bundle-for-java-7-jar-file-on-macos-manually) to solve my problem. After removing the lines:\r\n\r\n```\r\n<key>JVMRuntime</key>\r\n<string>1.7.0.jdk</string>\r\n```\r\n\r\nthe application could be opened via `open ./path-to/Shoes.app` successfully. Deleting the `1.7.0.jdk` folder along with it was fine too and reduces the app quite considerably."}}