已经成功安装完成,检查javac
![](https://imgsa.baidu.com/forum/w%3D580/sign=8b8ad4fb9f2bd40742c7d3f54b8b9e9c/9f65fd36afc3793188fbccfae3c4b74541a911e3.jpg)
但是查询jdk版本显示的
Unrecognized option: -
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
![](https://imgsa.baidu.com/forum/w%3D580/sign=96bb00dd6f09c93d07f20effaf3ff8bb/358e04f41bd5ad6e82682e3989cb39dbb4fd3ce1.jpg)
百度的答案说是版本系统不匹配,有没有大神知道这是什么问题啊
![](https://imgsa.baidu.com/forum/w%3D580/sign=8b8ad4fb9f2bd40742c7d3f54b8b9e9c/9f65fd36afc3793188fbccfae3c4b74541a911e3.jpg)
但是查询jdk版本显示的
Unrecognized option: -
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
![](https://imgsa.baidu.com/forum/w%3D580/sign=96bb00dd6f09c93d07f20effaf3ff8bb/358e04f41bd5ad6e82682e3989cb39dbb4fd3ce1.jpg)
百度的答案说是版本系统不匹配,有没有大神知道这是什么问题啊