英文:
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)
答案2
得分: 2
同样如此!使用此链接下载旧版本
STS 存档版本
英文:
Same here! Use this link to download older versions
STS Archived versions
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论