【发布时间】:2017-02-07 06:56:07
【问题描述】:
我需要运行 eclipse(java 1.7) 和 STS 3.8.1 (java 1.8),但如果我选择 java 7 作为默认值,我会在 STS 3.8.1 中出错。
我正在使用OS : ubuntu 14.10
Error : Version 1.7.0_80 of the JVM is not suitable for this product. Version: 1.8 or greater is required.
或者我选择java 1.8,因为默认的 Eclipse 不能正常工作。
我的要求是使用java 1.7 with STS. 构建一个项目,最新版本 3.8.1 不支持 java 1.7。
我尝试搜索哪个version of STS support 1.7,但我没有得到任何答案。
【问题讨论】:
-
如果您只需要 Java 7 来构建项目,您可以在项目属性中仅为该项目更改 eclipse/STS 中的 Java 版本
标签: java eclipse spring spring-tool-suite ubuntu-14.10