打开开始菜单,搜索regedit,打开注册表 打开”HKEY_LOCAL_MACHINE” 点击”SOFTWARE” 点击”JavaSoft” 点击”Java Runtime Environment” 选中”CurrentVersion” ,右键点击更改,改成”1.7”