重写了整个软件, 现在所有操作都在一个exe文件里。 介绍 JDK Version Manager (JVMS) for Windows Windows下JDK多版本管理器,类似 nvm, nvmw, rvm jvms下载地址 这对JDK不同版本之间切换是非常有用的。例如,如果你想测试一个项目你想使用最新最前沿的版本,却不想卸载JDK的稳定版,这个工具可以很好的解决。 请注意,您需要删掉以前的JAVA_HOME环境变量再安装JVMS。 安装 - 下载jvms - 解压 jvms.zip - 用管理员身份运行 cmd 或者 powershell (win10快捷键为win + X + A) - cd 到解压目录 - 执行 ./jvms.exe init - 安装成功! 使用 NAME: jvms - JDK Version Manager (JVMS) for Windows USAGE: jvms.exe [global options] command [command options] [arguments...] VERSION: 2.0.0 COMMANDS: init Initialize config file list, ls List the JDK installations. install, i Install remote available jdk switch, s Switch to use the specified version. remove, rm Remove a specific version. rls Show a list of versions available for download. proxy Set a proxy to use for downloads. help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --help, -h show help --version, -v print the version 以安装jdk 1.8.0_31为例 1. 用管理员身份运行cmd 或者 powershell(win + X + A) 2. jvms rls 列出可以在线安装的jdk版本 3. jvms install 1.8.0_31 安装 jdk 1.8.0_31 4. jvms ls 列出本地已安装的jdk版本 5. jvms switch 1.8.0_31 切换jdk 版本为 1.8.0_31 jvms 2.0.0 重制版更新,Windows JDK 版本管理器下载地址