出现这种情况就可以用我的方法 1. Win+r 打开命令窗口 输入 regedit 2.计算机\HKEY_CLASSES_ROOT\jarfile\shell\open\command 3.更换路径(双击默认即可修改) 4.完成!!!