Spring Tool Suite(STS)4.8.0 RELEASE – 从4.7.2升级后Java消失了

huangapple go评论69阅读模式
英文:

Spring Tool Suite (STS) 4.8.0 RELEASE - Java disappeared after upgrading from 4.7.2

问题

根据项目需求,我必须在JDK 1.8上运行STS。升级Spring Tool Suite到4.8.0版本后,所有的Java透视图、视图和偏好设置都消失了。是否有办法回滚到4.7.2版本?

以下是我的ini配置:

-startup
plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1300.v20200819-0940
-product
org.springframework.boot.ide.branding.sts4
--launcher.defaultAction
openFile
-vm
C:/Program Files/Java/jdk1.8.0_231/bin/javaw
-vmargs
-Djava.endorsed.dirs=C:/JavaTools/Endorsed
-javaagent:C:/JavaTools/Endorsed/lombok.jar
-Dlombok.disableConfig=true
-Dosgi.requiredJavaVersion=1.8
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx2048m
--add-modules=ALL-SYSTEM

谢谢。

英文:

As per project requirements, I have to run STS on JDK 1.8.
After upgrading Spring Tool Suite to 4.8.0, all Java perspectives, views and preferences are gone.
Is there a way to rollback to 4.7.2?

Here is my ini

-startup
plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1300.v20200819-0940
-product
org.springframework.boot.ide.branding.sts4
--launcher.defaultAction
openFile
-vm
C:/Program Files/Java/jdk1.8.0_231/bin/javaw
-vmargs
-Djava.endorsed.dirs=C:/JavaTools/Endorsed
-javaagent:C:/JavaTools/Endorsed/lombok.jar
-Dlombok.disableConfig=true
-Dosgi.requiredJavaVersion=1.8
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx2048m
--add-modules=ALL-SYSTEM

Thanks.

答案1

得分: 2

我也遇到了同样的问题 - 我也需要继续使用Java 8。
我通过下载基于之前的Eclipse 4.16的STS来解决这个问题,这个版本仍然与Java 8兼容:

(已编辑 - 旧链接指向Eclipse 4.17)

链接:https://download.springsource.com/release/STS4/4.8.0.RELEASE/dist/e4.16/spring-tool-suite-4-4.8.0.RELEASE-e4.16.0-win32.win32.x86_64.self-extracting.jar

英文:

I've been through the same problem - I'm required to stay on Java 8 too.
I worked around it by downloading the STS based on previous Eclipse 4.16, still compatible with Java 8:

(Edited - the older link pointed to Eclipse 4.17)

https://download.springsource.com/release/STS4/4.8.0.RELEASE/dist/e4.16/spring-tool-suite-4-4.8.0.RELEASE-e4.16.0-win32.win32.x86_64.self-extracting.jar

答案2

得分: 2

同样如此!使用此链接下载旧版本
STS 存档版本

英文:

Same here! Use this link to download older versions
STS Archived versions

huangapple
  • 本文由 发表于 2020年9月23日 11:09:16
  • 转载请务必保留本文链接:https://go.coder-hub.com/64020490.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定