How to Install STS in Windows


  1. Download STS from https://spring.io/tools/sts/all 
  2. I have downloaded the 64bit version. Then Unzip the downloaded zip file to any folder.
  3. Then start STS by double clicking on STS exe file in the unzipped folder.
  4. Then I got an error message like.
  5. Then I checked the log file specified in error message. The log file shown error message like org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct. Then I got solution for this issue by searching in internet. If you are using Java 9 or 10, then you may also have same issue. To resolve this issue add --add-modules=ALL-SYSTEM in STS.ini file.
  6. Then again open STS by double clicking STS.exe file. Thus STS opened for me successfully.