Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the warn msg #265

Merged
merged 1 commit into from Sep 30, 2019
Merged

Fix the warn msg #265

merged 1 commit into from Sep 30, 2019

Conversation

pengisgood
Copy link
Contributor

I'm installing the jEnv on Mac OSX with Homebrew.

$ brew install jenv
# restart the terminal
$ jenv doctor

After run the commands above, it gives the following message:

[OK]	No JAVA_HOME set
[ERROR]	Java binary in path is not in the jenv shims.
[ERROR]	Please check your path, or try using /path/to/java/home is not a valid path to java installation.
	PATH : /usr/local/Cellar/jenv/0.5.2/libexec/libexec:/Users/maxpeng/.cargo/bin:/Users/maxpeng/.pyenv/shims:/Users/username/.pyenv:/Users/maxpeng/.nvm/versions/node/v8.11.4/bin:/Users/maxpeng/bin:/usr/local/bin:/Users/maxpeng/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/maxpeng/Documents/Projects/golang/bin
[ERROR]	Jenv is not loaded in your zsh
[ERROR]	To fix : 	cat eval "$(jenv init -)" >> /Users/xxx/.zshrc

The last sentence is not correct, which should be echo eval "$(jenv init -)" >> /Users/xxx/.zshrc

Please correct me if I'm wrong.

@pengisgood
Copy link
Contributor Author

Anyone there?

@gcuisinier
Copy link
Collaborator

You're right !
Thank you for the fix !

@gcuisinier gcuisinier merged commit dcbfd48 into jenv:master Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants