{"action":"created","issue":{"url":"https://api.github.com/repos/gcuisinier/jenv/issues/90","labels_url":"https://api.github.com/repos/gcuisinier/jenv/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/gcuisinier/jenv/issues/90/comments","events_url":"https://api.github.com/repos/gcuisinier/jenv/issues/90/events","html_url":"https://github.com/gcuisinier/jenv/issues/90","id":65579954,"number":90,"title":"can't reset  JAVA_HOME from 1.7 to 1.8","user":{"login":"droid-Q","id":708277,"avatar_url":"https://avatars.githubusercontent.com/u/708277?v=3","gravatar_id":"","url":"https://api.github.com/users/droid-Q","html_url":"https://github.com/droid-Q","followers_url":"https://api.github.com/users/droid-Q/followers","following_url":"https://api.github.com/users/droid-Q/following{/other_user}","gists_url":"https://api.github.com/users/droid-Q/gists{/gist_id}","starred_url":"https://api.github.com/users/droid-Q/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droid-Q/subscriptions","organizations_url":"https://api.github.com/users/droid-Q/orgs","repos_url":"https://api.github.com/users/droid-Q/repos","events_url":"https://api.github.com/users/droid-Q/events{/privacy}","received_events_url":"https://api.github.com/users/droid-Q/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-01T01:15:58Z","updated_at":"2015-04-02T10:36:29Z","closed_at":null,"body":"When i run 'jenv shell 1.8' ,the java version is 1.8,but i found JAVA_HOME still is 1.7.I had set .zshrc like this \"export JAVA_HOME=\"$HOME/.jenv/versions/`jenv version-name`\" \"\r\n![2015-04-01 9 14 25](https://cloud.githubusercontent.com/assets/708277/6932676/89c9981a-d84f-11e4-84da-c64cc0098b04.png)\r\n\r\nHow can i fix it?\r\n"},"comment":{"url":"https://api.github.com/repos/gcuisinier/jenv/issues/comments/88862290","html_url":"https://github.com/gcuisinier/jenv/issues/90#issuecomment-88862290","issue_url":"https://api.github.com/repos/gcuisinier/jenv/issues/90","id":88862290,"user":{"login":"droid-Q","id":708277,"avatar_url":"https://avatars.githubusercontent.com/u/708277?v=3","gravatar_id":"","url":"https://api.github.com/users/droid-Q","html_url":"https://github.com/droid-Q","followers_url":"https://api.github.com/users/droid-Q/followers","following_url":"https://api.github.com/users/droid-Q/following{/other_user}","gists_url":"https://api.github.com/users/droid-Q/gists{/gist_id}","starred_url":"https://api.github.com/users/droid-Q/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droid-Q/subscriptions","organizations_url":"https://api.github.com/users/droid-Q/orgs","repos_url":"https://api.github.com/users/droid-Q/repos","events_url":"https://api.github.com/users/droid-Q/events{/privacy}","received_events_url":"https://api.github.com/users/droid-Q/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T10:36:29Z","updated_at":"2015-04-02T10:36:29Z","body":"Yes,i had enable the \"export\" plugin.\r\n```\r\n    ┌─[droid@droid-rMBP] - [~/.jenv/versions] - [2015-04-02 06:16:10]\r\n    └─[0] jenv enable-plugin export\r\n    export plugin already enabled`\r\n```\r\n\r\nand I already had removed :\r\n```\"export JAVA_HOME=\"$HOME/.jenv/versions/jenv version-name\" ```\r\n\r\nIt's still not work.\r\n```\r\n┌─[droid@droid-rMBP] - [~] - [2015-04-02 06:26:48]\r\n└─[0] jenv version\r\n1.7 (set by /Users/droid/.jenv/version)\r\n┌─[droid@droid-rMBP] - [~] - [2015-04-02 06:26:51]\r\n└─[0] jenv shell 1.8\r\n┌─[droid@droid-rMBP] - [~] - [2015-04-02 06:27:17]\r\n└─[0] echo $JAVA_HOME\r\n/Users/droid/.jenv/versions/1.7\r\n```"}}