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

No such file or directory when adding a jdk on freshly installed jenv #76

Closed
cahi opened this issue Jan 14, 2015 · 3 comments
Closed

No such file or directory when adding a jdk on freshly installed jenv #76

cahi opened this issue Jan 14, 2015 · 3 comments

Comments

@cahi
Copy link

cahi commented Jan 14, 2015

I installed JEnv via Homebrew.
After installing, i tried to install a jdk 1.7 which I installed earlier:
console output:
cahi$: jenv add /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home
cahi$: ln: /Users/cahi/.jenv/versions/oracle64-1.7.0.71: No such file or directory

@gcuisinier
Copy link
Collaborator

Do you have $(jenv init -) in your .zshrc or .bash_profile ?

@cahi
Copy link
Author

cahi commented Jan 14, 2015

Thanks for the hint. You need to restart a new console after adding configuring the jenv ;-)

@cahi cahi closed this as completed Jan 14, 2015
@evanleonard
Copy link

Just ran into this myself. Would you consider either a) updating the error message that comes out at this point to suggest the fix? or updating the docs on http://www.jenv.be/ to say "start a new console" in the "installation" section.

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

No branches or pull requests

3 participants