・ After updating Eclipse to 2020-09, I'm running Eclipse with jre! Message appears -When I tried to put MissionControl in order to grasp the memory status, it had to work with JDK!
I want to run Eclipse with jdk for the reason, but I'm wondering which JDK to use, so it's a memorandum.
・ Windows10 64bit ・ STS4 (Eclipse2020-09) ・ AdoptOpenJDK 11, ~~ 15 ~~ (If it is 15, an error will occur, it may be better to wait until the problem is fixed)
-Oracle JDK (Java SE) https://www.oracle.com/java/technologies/javase-downloads.html If you search for jdk download, you will find jdk that was originally available for commercial use but now requires a license.
・ Open JDK https://openjdk.java.net/install/ Open source jdk. Commercially available. At first, I set this to the Eclipse startup vm, but it started, but I got an error in the build.
-AdoptOpen JDK https://adoptopenjdk.net/ An open source jdk that joined the Eclipse Foundation. When I set it, I was able to build without any error.
・ ** SpringToolsSuite4.ini ** Set the path of the installed bin directory under vm
-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/AdoptOpenJDK/jdk-11.0.8.10-hotspot/bin
;plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_14.0.2.v20200815-0932/jre/bin
-vmargs
-Dosgi.requiredJavaVersion=11
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms1024m
-Xmx4096m
--add-modules=ALL-SYSTEM
-Xverify:none
-javaagent:dropins/MergeDoc/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
・ ** Eclipse.ini ** I also tried it in Eclipse and it worked.
-vm
C:\Program Files\AdoptOpenJDK\jdk-11.0.8.10-hotspot\bin
;plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_14.0.2.v20200815-0932/jre/bin
-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.eclipse.epp.package.jee.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-javaagent:dropins/MergeDoc/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
-javaagent:lombok.jar
-Xverify:none
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=30000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=30000
-Dosgi.requiredJavaVersion=11
[email protected]/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=11
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms3G
-Xmx5G
--add-modules=ALL-SYSTEM
MissionControl It seems to be working properly.
That's all, thank you for your hard work!
Recommended Posts