How to run STS on Java version 1.7

I need to run eclipse (java 1.7) and STS 3.8.1 (java 1.8), but if I choose java 7 by default, I get an error in STS 3.8.1. I useOS : 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.

Or I choose java 1.8, because by default eclipse is not working fine.

My requirement is to create a project using java 1.7 with STS., and the latest version 3.8.1 does not support java 1.7.

and I try to search version of STS support 1.7, but I do not get a response.

+4
source share
4 answers

, , , Java 8 - 3.8.0 , Java 1.8, 3.7.3 - Java 1.7.

+6

jdk 1.8 STS (). - / JDK, .

jdk1.8, JAVA_HOME PATH env, 1.8 jdk . STS. JDK 1.7 .

, .

+1

"--" STS 3.8.1 Eclipse v4.6, Java 1.8 . @Jens, WindowsPreferences. node Java > Installed JREs. JRE/JDK .

: Eclipse 4.5, https://spring.io/tools/sts/all

  • STS 3.8.1 : HelpInstall New Software.... URL- .
  • , STS . Add... , zip .
0
source

Screenshot

I just installed jdk in an alternate jre value.

0
source

Source: https://habr.com/ru/post/1656167/


All Articles