我无法Java 9从macOS Sierra系统中删除.
我不小心安装了Java 9,而不是Java 8,所以现在我的所有Eclipse项目都给了我这些警告:Build path specifies execution environment JavaSE-1.8. There are no JREs installed in the workspace that are strictly compatible with this environment.
我使用了以下指南,但它没有用.从命令行运行时java -version,这是我的命令输出:
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
Run Code Online (Sandbox Code Playgroud)