jabba
jabba copied to clipboard
jabba use doesn't work on windows.
The command returns posix shell: https://github.com/shyiko/jabba/blob/master/command/use.go#L39
This would never work on windows (and it doesn't).
I'm not a go dev, but shouldn't you be using something like os.Setenv
?
~> gc .jabbarc
[email protected]
~> $env:JAVA_HOME
C:\Users\george\scoop\apps\openjdk\current
~> jabba use
~> $env:JAVA_HOME
C:\Users\george\scoop\apps\openjdk\current