{"action":"created","issue":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/579","repository_url":"https://api.github.com/repos/lightbody/browsermob-proxy","labels_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/579/labels{/name}","comments_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/579/comments","events_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/579/events","html_url":"https://github.com/lightbody/browsermob-proxy/issues/579","id":197250404,"number":579,"title":"\"We cannot execute …java\" on Mac","user":{"login":"romank604","id":17532896,"avatar_url":"https://avatars.githubusercontent.com/u/17532896?v=3","gravatar_id":"","url":"https://api.github.com/users/romank604","html_url":"https://github.com/romank604","followers_url":"https://api.github.com/users/romank604/followers","following_url":"https://api.github.com/users/romank604/following{/other_user}","gists_url":"https://api.github.com/users/romank604/gists{/gist_id}","starred_url":"https://api.github.com/users/romank604/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romank604/subscriptions","organizations_url":"https://api.github.com/users/romank604/orgs","repos_url":"https://api.github.com/users/romank604/repos","events_url":"https://api.github.com/users/romank604/events{/privacy}","received_events_url":"https://api.github.com/users/romank604/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-22T19:32:33Z","updated_at":"2016-12-26T21:25:16Z","closed_at":"2016-12-26T21:25:16Z","body":"I have tried a few rounds of removing and reinstalling Java with reboots along the way, but my attempts to launch Browsermob keep invariably failing with the message\r\n\r\n> Error: JAVA_HOME is not defined correctly.\r\n>   We cannot execute /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java\r\n\r\nAt the same time:\r\n> macbook:bin romank604$ whereis java\r\n> /usr/bin/java\r\n> \r\n> macbook:bin romank604$ which java\r\n> /usr/bin/java\r\n> \r\n> macbook:bin romank604$ echo $JAVA_HOME // in ~/.bash_profile\r\n> /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home\r\n> \r\n> macbook:bin romank604$ java -version\r\n> java version \"1.8.0_112\"\r\n> Java(TM) SE Runtime Environment (build 1.8.0_112-b16)\r\n> Java HotSpot(TM) 64-Bit Server VM (build 25.112-b16, mixed mode)\r\n\r\nOn Windows 10 I have no problem launching Browsermob, but I must use a Mac and I am new to MacOS. I did whatever I could find (and understand) via Google and StackOverflow - to no avail. Would appreciate any help, thank you.\r\n"},"comment":{"url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/comments/269242779","html_url":"https://github.com/lightbody/browsermob-proxy/issues/579#issuecomment-269242779","issue_url":"https://api.github.com/repos/lightbody/browsermob-proxy/issues/579","id":269242779,"user":{"login":"jekh","id":9272923,"avatar_url":"https://avatars.githubusercontent.com/u/9272923?v=3","gravatar_id":"","url":"https://api.github.com/users/jekh","html_url":"https://github.com/jekh","followers_url":"https://api.github.com/users/jekh/followers","following_url":"https://api.github.com/users/jekh/following{/other_user}","gists_url":"https://api.github.com/users/jekh/gists{/gist_id}","starred_url":"https://api.github.com/users/jekh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jekh/subscriptions","organizations_url":"https://api.github.com/users/jekh/orgs","repos_url":"https://api.github.com/users/jekh/repos","events_url":"https://api.github.com/users/jekh/events{/privacy}","received_events_url":"https://api.github.com/users/jekh/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T21:25:16Z","updated_at":"2016-12-26T21:25:16Z","body":"I did just simplify the startup script, it should work pretty consistently on OS X and Linux now."}}
{"actor":{"display_login":"jekh"}}