ystyle / jvms

JDK Version Manager (JVMS) for Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch jdk failed, symlink store\1.7 C:\Program Files\jdk: Cannot create a file when that file already exists.

9527dong opened this issue · comments

windows 10下,使用switch命令无法选择指定的jdk版本。报错 Switch jdk failed, symlink store\1.7 C:\Program Files\jdk: Cannot create a file when that file already exists.这是啥原因了

先删除目录C:\Program Files\jdk, 再看看不是用的管理员权限运行的, 还有就是cmd 不要在默认c:/windows/system32 位置执行这命令。

Did you run "jvms init"?