-
Notifications
You must be signed in to change notification settings - Fork 384
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
not setting a version on mac #212
Comments
I had the same problem, I could workaround it by enabling export plugin
|
@anton-fomin I get |
I'm having the same issue as @anton-fomin above. Any resolutions yet? ~ » jenv doctor |
I have the same issue - OSX 10.13.6 |
Can you provide the output of |
@gcuisinier, I've added the output to my original comment above ^^. |
@saxtell-cb Thank. And jenv version ? :) |
~ » jenv --version |
heu .. that's not jenv version. |
|
Updated ^^ |
Very strange ... Can you give me the output of : |
That last command returned nothing. |
ok ! Do you have this lines in your .zshrc/.bashrc:
|
Only in my .bash_profile |
and |
Returns a blank line. |
And just to be sure, you are using bash ?
|
|
Ok, that's probably the problem. zsh is using .zshrc and not .bashrc
And restart you shell, and try again please |
Seems like that was the problem. It's switching between versions nicely for me. Thanks @gcuisinier! |
Except that |
Never mind, I take that back. It is actually working. I just hadn't sourced in the other tmux pane yet. It's all working now! Thanks again @gcuisinier. |
I've written pretty clear instructions for macOS on my maintained fork: https://github.com/hiddenswitch/jenv This includes installing a special |
Same issue. I used the following commands.
The outcome was not what I expected. Then~
I found a file named .java-version in the user's directory. So I removed it. Then I got what I wanted~ |
Same issue too. it seems |
Thanks guys, I had the same problem and it worked with the below statements |
@namithc the command : |
After changing the version globally , and running java -version, the versions specified by jenv and the global java version differ. I fix it by using the command: eval "$(jenv init -)" |
As a previous user of |
mine got fixed by adding |
Went into the same issue.
In my case i don't really need sdkman so i've decided to remove it Putting all replies above together:
|
for me it worked after removing .java-version file available under /Users/{user} |
This shhould all be well documented in the readme now. |
Seems like basic functionality, but it does not work as expected for me. What am I doing wrong?
The text was updated successfully, but these errors were encountered: