public:computer:spring_tools

This is an old revision of the document!


Spring Tools |4

  1. Download jar file
  2. Unpack jar file
  3. Executable Folder; <jar filename folder>/contents
  4. Edit SpringToolSuite4.ini file
    • -vm; specify javaw.exe with full path
    • -javaagent; add lonbok.jar with full path
    • ? -Dosgi.requiredJavaVersion; 1.8? 11?
    • -startup
      plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar
      --launcher.library
      plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1200.v20200508-1552
      -product
      org.springframework.boot.ide.branding.sts4
      --launcher.defaultAction
      openFile
      -vm
      C:/..../java-1.8.0-openjdk-1.8.0.212-1/bin/javaw.exe
      -vmargs
      -Dosgi.requiredJavaVersion=1.8
      -Dosgi.dataAreaRequiresExplicitInit=true
      -Xms256m
      -Xmx2048m
      --add-modules=ALL-SYSTEM
      -javaagent:C:\....\lombok.jar
      
  • Open Project
    1. Open Workspace
    2. Import Project(Package Explorer)
    3. Select Project Type(Gradle | Maven)
    4. Browse Project Root Directory
    5. Check Imported Packages in Package Explorer
    6. STS4; [Window] → [Show View] → [Project Explorer]
    7. Change Text File Encoding; [Preferences] → [General > Workspace] →
      • Text file encoding; Other: UTF-8
      • New text file line delimiter; Oterh: Unix
  • Run
    • [Boot Dashboard]
    • select a package & run
  • public/computer/spring_tools.1637200139.txt.gz
  • Last modified: 2021/11/18 10:48
  • by alex