version-fox / vfox

A cross-platform and extendable version manager with support for Java, Node.js, Flutter, .Net & more
https://vfox.lhan.me
Apache License 2.0
2.77k stars 100 forks source link

[BUG]: Path of activated JDK not consistent #134

Closed RumbleTumbleKid closed 6 months ago

RumbleTumbleKid commented 6 months ago

Version 0.2.6 OS Windows

Describe the bug When multiple JDKs are installed, launching Java will not always launch the active JDK. This only happens when Invoke-Expression "$(vfox activate pwsh)" is added to the PowerShell profile!

WindowsTerminal_W9U1dJEJdJ

ahai-code commented 6 months ago

We have refactored the java plugin, you can use the latest java plugin, to solve this issue.