{"action":"created","issue":{"url":"https://api.github.com/repos/tofi86/universalJavaApplicationStub/issues/9","labels_url":"https://api.github.com/repos/tofi86/universalJavaApplicationStub/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/tofi86/universalJavaApplicationStub/issues/9/comments","events_url":"https://api.github.com/repos/tofi86/universalJavaApplicationStub/issues/9/events","html_url":"https://github.com/tofi86/universalJavaApplicationStub/issues/9","id":53292455,"number":9,"title":"OS X Yosemite still asks to install JRE 6","user":{"login":"thebiguno","id":212763,"avatar_url":"https://avatars.githubusercontent.com/u/212763?v=3","gravatar_id":"","url":"https://api.github.com/users/thebiguno","html_url":"https://github.com/thebiguno","followers_url":"https://api.github.com/users/thebiguno/followers","following_url":"https://api.github.com/users/thebiguno/following{/other_user}","gists_url":"https://api.github.com/users/thebiguno/gists{/gist_id}","starred_url":"https://api.github.com/users/thebiguno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebiguno/subscriptions","organizations_url":"https://api.github.com/users/thebiguno/orgs","repos_url":"https://api.github.com/users/thebiguno/repos","events_url":"https://api.github.com/users/thebiguno/events{/privacy}","received_events_url":"https://api.github.com/users/thebiguno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tofi86","id":365118,"avatar_url":"https://avatars.githubusercontent.com/u/365118?v=3","gravatar_id":"","url":"https://api.github.com/users/tofi86","html_url":"https://github.com/tofi86","followers_url":"https://api.github.com/users/tofi86/followers","following_url":"https://api.github.com/users/tofi86/following{/other_user}","gists_url":"https://api.github.com/users/tofi86/gists{/gist_id}","starred_url":"https://api.github.com/users/tofi86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofi86/subscriptions","organizations_url":"https://api.github.com/users/tofi86/orgs","repos_url":"https://api.github.com/users/tofi86/repos","events_url":"https://api.github.com/users/tofi86/events{/privacy}","received_events_url":"https://api.github.com/users/tofi86/received_events","type":"User","site_admin":false},"milestone":null,"comments":38,"created_at":"2015-01-03T03:16:09Z","updated_at":"2015-03-25T22:49:41Z","closed_at":null,"body":"Hello,\r\n\r\nI have recently found this project when researching a problem reported by users, that OSX Yosemite will request the install of JRE 6 when running my application.  Your script sounds like it would fix things, however I am still seeing the same issue.  Digging further, it appears that OS X is intercepting the app bundle execution even before passing control to your script.  (To verify this, I added a line 'echo \"foo\" > \"~/bar.txt\"', and it doesn't appear when double clicking on the application, but if I run the script directly from the command line, the file appears and the app launches properly).\r\n\r\nIf I remove the \"Java\" tag in the Info.plist file, your script is executed (and then complains about a missing main class, as expected).  So, it appears to me that OSX is intercepting execution before the JavaApplicationStub is executed, IF there is a \"Java\" key in the Info.plist.\r\n\r\n(For the record, I am using the latest version of JarBundler ant task - 2.3.1 - and it appears to be writing Info.plist in the Apple format.  I have installed the latest JRE from Oracle - 8 update 25.)\r\n\r\nHave you seen this problem before?  Any thoughts on what I can try next?  I'm sure that I can get it working by hacking your script plus the Info.plist file, but I would like to keep things as close to normal as possible (for whatever constitutes 'normal' in the ever-changing landscape of Apple / Java relations!)\r\n\r\nAny thoughts on this would be greatly appreciated.\r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/tofi86/universalJavaApplicationStub/issues/comments/86243165","html_url":"https://github.com/tofi86/universalJavaApplicationStub/issues/9#issuecomment-86243165","issue_url":"https://api.github.com/repos/tofi86/universalJavaApplicationStub/issues/9","id":86243165,"user":{"login":"Dylan-M","id":545408,"avatar_url":"https://avatars.githubusercontent.com/u/545408?v=3","gravatar_id":"","url":"https://api.github.com/users/Dylan-M","html_url":"https://github.com/Dylan-M","followers_url":"https://api.github.com/users/Dylan-M/followers","following_url":"https://api.github.com/users/Dylan-M/following{/other_user}","gists_url":"https://api.github.com/users/Dylan-M/gists{/gist_id}","starred_url":"https://api.github.com/users/Dylan-M/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dylan-M/subscriptions","organizations_url":"https://api.github.com/users/Dylan-M/orgs","repos_url":"https://api.github.com/users/Dylan-M/repos","events_url":"https://api.github.com/users/Dylan-M/events{/privacy}","received_events_url":"https://api.github.com/users/Dylan-M/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T22:49:41Z","updated_at":"2015-03-25T22:49:41Z","body":"@aleth Ah, I had missed that. But, sounds like Tobias has it well in hand, and my experience with OSX is admittedly quite limited.\r\n\r\n@tofi86 Ah, I had forgotten you added special case detection for the JRE plugin. But, I'm glad you figured it out ;)"}}