-
Notifications
You must be signed in to change notification settings - Fork 366
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
jenv add "ln No such file or directory" #167
Comments
Do you have add eval |
I am running into the same error. The issue is that there is no |
Confirming this issue. Approriate line is added to profile but |
Thanks for your help! |
Actually, I run into the same issue and the solution by @jschavey is not working. I've added the initiation lines to my
This throws this error:
Checking out the directory shows this:
Hence, since we installed |
Ah, yes, it should be like so in my
Then doing
|
I meat the same problem. And I have solved it. |
Had the same Issue. Best Regards |
@Dshosev @gcuisinier Best regards |
@Dshosev this trick mkdir -p ~/.jenv/versions worked for me on Fedora Linux as well with bash. |
On |
This worked perfectly. Thank you. |
Just had the issue with the directory structure, 2022, had to
|
For me adding |
I was getting a similar issue-- after attempting to add java 11 with jenv and use it, I would get an error like:
The other solutions posted here were not sufficient for my issue. It could be reproduced by just typing How I solved it: When I looked in Hope this helps in case anyone else runs into the same thing. |
@cajubelt thank you ! i had the same problem... |
Thanks, this fixed it for me too, it originated after running |
this worked for me jenv rehash |
Normally you'd do |
Same error happened to me after upgrading from 0.5.5_2 to 0.5.6 with brew. I fixed it by manually editing the path in |
I think in the official website https://www.jenv.be/, it should be changed to "Step 1", "Step 2", rather than two section "Installation". |
I had the exact same issue and solution for upgrading from 0.5.6 to 0.5.7 too with |
MacOS 10.12.4
I used Homebrew to install java with
and I checked the version of it as following.
Then I tried jenv add
jenv add /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
but it shows
ln: /Users/reapor.yurnero/.jenv/versions/oracle64-1.8.0.121: No such file or directory
So I'm confused which procedure am I wrong.
The text was updated successfully, but these errors were encountered: