I've built jv (https://github.com/CostaBrosky/jv ), a simple and fast command-line tool designed specifically to switch Java versions on Windows with a single command. Unlike manually editing environment variables or relying on complex batch scripts, jv provides a streamlined experience. It permanently modifies JAVA_HOME and PATH system-wide (requiring admin privileges for these commands), ensuring the change is picked up by all applications, including IDEs. Key features include:
While tools like sdkman exist for Unix-like systems, there wasn't a similarly focused and user-friendly solution for Windows. jv aims to fill that gap.Feedback and contributions are welcome! |
No comments yet