如何在Java 1.7版上运行STS [英] How to run STS on Java version 1.7

查看:267
本文介绍了如何在Java 1.7版上运行STS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要运行eclipse(java 1.7)和STS 3.8.1(java 1.8),但是如果我选择Java 7作为默认值,则会在STS 3.8.1中出错. 我正在使用OS : ubuntu 14.10

I need to run eclipse(java 1.7) and STS 3.8.1 ( java 1.8) but if i select the java 7 as default i am getting error in the STS 3.8.1. I am using 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无法正常工作.

Or I select java 1.8 as default eclipse is not working fine.

我的要求是使用java 1.7 with STS.构建项目,而最新版本3.8.1不支持Java 1.7.

My requirement is to build a Project using java 1.7 with STS. and latest version 3.8.1 doesnot support the java 1.7.

,我尝试搜索哪个version of STS support 1.7,但没有得到任何答案.

and i try to search which version of STS support 1.7 but i am not getting any answer .

推荐答案

我只是将jdk设置为替代性jre值.

I just set the jdk in the alternative jre value .

这篇关于如何在Java 1.7版上运行STS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆