Jenv: No such file or directory when adding a jdk on freshly installed jenv

Created on 14 Jan 2015  ·  3Comments  ·  Source: jenv/jenv

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

Most helpful comment

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

All 3 comments

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HeIsIdeus picture HeIsIdeus  ·  9Comments

mojavelinux picture mojavelinux  ·  4Comments

calebmeyer picture calebmeyer  ·  9Comments

ikuwow picture ikuwow  ·  4Comments

rachelwilson picture rachelwilson  ·  6Comments