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

rexgreen opened this issue Aug 24, 2017 · 8 comments

versions directory not created #175

rexgreen opened this issue Aug 24, 2017 · 8 comments


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-': No such file or directory lizard@blade-stealth:~/.jenv$ ls available-plugins bin completions fish libexec LICENSE shims lizard@blade-stealth:~/.jenv$ mkdir versions lizard@blade-stealth:~/.jenv$ jenv add /usr/lib/jvm/java-8-oracle oracle64- added added 1.8 added

Copy link

@erstens erstens commented Sep 22, 2017

reopen terminal

Copy link

@ThomasKoppensteiner ThomasKoppensteiner commented Nov 14, 2017

@rexgreen still an issue?

Copy link

@rexgreen rexgreen commented Nov 15, 2017

Copy link

@SpaceRangerWes SpaceRangerWes commented Dec 1, 2017

@ThomasKoppensteiner it is still an issue

Copy link

@onacit onacit commented Jan 23, 2018

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

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- added
- added
- 1.8 added
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.

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
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
8 participants