{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/go-java-launcher/issues/3","repository_url":"https://api.github.com/repos/palantir/go-java-launcher","labels_url":"https://api.github.com/repos/palantir/go-java-launcher/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/palantir/go-java-launcher/issues/3/comments","events_url":"https://api.github.com/repos/palantir/go-java-launcher/issues/3/events","html_url":"https://github.com/palantir/go-java-launcher/issues/3","id":165088527,"number":3,"title":"Obtuse error message if JAVA_HOME is set incorrectly.","user":{"login":"jamesneale","id":9608264,"avatar_url":"https://avatars.githubusercontent.com/u/9608264?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesneale","html_url":"https://github.com/jamesneale","followers_url":"https://api.github.com/users/jamesneale/followers","following_url":"https://api.github.com/users/jamesneale/following{/other_user}","gists_url":"https://api.github.com/users/jamesneale/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesneale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesneale/subscriptions","organizations_url":"https://api.github.com/users/jamesneale/orgs","repos_url":"https://api.github.com/users/jamesneale/repos","events_url":"https://api.github.com/users/jamesneale/events{/privacy}","received_events_url":"https://api.github.com/users/jamesneale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-12T14:03:58Z","updated_at":"2016-07-27T13:36:26Z","closed_at":null,"body":"If your JAVA_HOME env var is set to an incorrect location you get the following error message in your logs which is reasonably tricky to debug:\r\n\r\n```\r\npanic: no such file or directory\r\n\r\ngoroutine 1 [running]:\r\npanic(0x1665a0, 0x8202abfc0)\r\n\t/usr/local/go/src/runtime/panic.go:481 +0x3e6\r\ngithub.com/palantir/go-java-launcher/launchlib.Launch(0x820341e48, 0x820341e18)\r\n\t/home/ubuntu/.go_workspace/src/github.com/palantir/go-java-launcher/launchlib/launcher.go:86 +0xf3f\r\nmain.LaunchWithConfig(0x7fff5fbffa1a, 0x1f, 0x7fff5fbffa3a, 0x1c)\r\n\t/home/ubuntu/.go_workspace/src/github.com/palantir/go-java-launcher/go-java-launcher/main.go:39 +0x389\r\nmain.main()\r\n\t/home/ubuntu/.go_workspace/src/github.com/palantir/go-java-launcher/go-java-launcher/main.go:56 +0xf6\r\n```"},"comment":{"url":"https://api.github.com/repos/palantir/go-java-launcher/issues/comments/235586761","html_url":"https://github.com/palantir/go-java-launcher/issues/3#issuecomment-235586761","issue_url":"https://api.github.com/repos/palantir/go-java-launcher/issues/3","id":235586761,"user":{"login":"jamesneale","id":9608264,"avatar_url":"https://avatars.githubusercontent.com/u/9608264?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesneale","html_url":"https://github.com/jamesneale","followers_url":"https://api.github.com/users/jamesneale/followers","following_url":"https://api.github.com/users/jamesneale/following{/other_user}","gists_url":"https://api.github.com/users/jamesneale/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesneale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesneale/subscriptions","organizations_url":"https://api.github.com/users/jamesneale/orgs","repos_url":"https://api.github.com/users/jamesneale/repos","events_url":"https://api.github.com/users/jamesneale/events{/privacy}","received_events_url":"https://api.github.com/users/jamesneale/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T13:36:26Z","updated_at":"2016-07-27T13:36:26Z","body":"#4 "}}
{"actor":{"display_login":"jamesneale"}}