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

versions directory not created #175

Open
rexgreen opened this issue Aug 24, 2017 · 8 comments
Open

versions directory not created #175

rexgreen opened this issue Aug 24, 2017 · 8 comments

Comments

@rexgreen
Copy link

@rexgreen rexgreen commented Aug 24, 2017

lizard@blade-stealth:~/.jenv$ jenv add /usr/lib/jvm/java-8-oracle ln: failed to create symbolic link '/home/lizard/.jenv/versions/oracle64-1.8.0.144': No such file or directory lizard@blade-stealth:~/.jenv$ ls available-plugins bin completions fish libexec LICENSE README.md shims lizard@blade-stealth:~/.jenv$ mkdir versions lizard@blade-stealth:~/.jenv$ jenv add /usr/lib/jvm/java-8-oracle oracle64-1.8.0.144 added 1.8.0.144 added 1.8 added

@erstens
Copy link

@erstens erstens commented Sep 22, 2017

+1
reopen terminal

@ThomasKoppensteiner
Copy link

@ThomasKoppensteiner ThomasKoppensteiner commented Nov 14, 2017

@rexgreen still an issue?

@rexgreen
Copy link
Author

@rexgreen rexgreen commented Nov 15, 2017

@SpaceRangerWes
Copy link

@SpaceRangerWes SpaceRangerWes commented Dec 1, 2017

@ThomasKoppensteiner it is still an issue

@onacit
Copy link

@onacit onacit commented Jan 23, 2018

0.4.4 still has this issue.
I had to create ~/.jenv/ and ~/.jenv/versions.

@mglaze
Copy link

@mglaze mglaze commented Mar 26, 2018

@onacit has the right fix.
I had to create both the ~./jenv, ~./jenv/shims and ~/.jenv/versions
Now I can do the following:

jenv add /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home

and I see the following:

- oracle64-1.8.0.162 added
- 1.8.0.162 added
- 1.8 added
@binkley
Copy link

@binkley binkley commented Mar 28, 2018

I see this as well, and the fix from @onacit works for me.

This seems like something jenv should do for itself.

@aarifsumra
Copy link

@aarifsumra aarifsumra commented Mar 1, 2019

@onacit Thanks it works !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants