Eclipse and STS installation and configuration (including extensions).
JDK 11 with Spring Tools Suite (sample):
J:\COMPANY\COU\bins\sts-4.3.2.RELEASE\SpringToolSuite4.exe -data ../../wss/cloud-aws -vm ../../bins/jdk-11.0.4.11.1.amazon/bin
JDK 8 with Eclipse (sample):
J:\COMPANY\COU\bins\eclipse-jee-2019-06-R-win32-x86_64\eclipse.exe -data ../../wss/gpra -vm ../../bins/jdk-1.8.0.212-3.b04.redhat/bin
Let's configure VM proxy settings:
Using JDK 11 or JDK 8:
[...]
-vmargs
-Dhttp.proxyPort=3128
-Dhttp.proxyHost=127.0.0.1
-Dhttps.proxyPort=3128
-Dhttps.proxyHost=127.0.0.1
-Dhttp.nonProxyHosts=localhost|127.0.0.1
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
[...]
After first start, go to Preferences > Network Connections (configure the following and restart Eclipse):
Active Provider: Manual
Select the proxy entry 'SOCKS' and click 'Clear'
Click 'Apply and Close'
Note: this configuration file is automatically created after eclipse executable is run for first time
[...]
proxiesEnabled=true
proxyData/HTTP/hasAuth=false
proxyData/HTTP/host=127.0.0.1
proxyData/HTTP/port=3128
proxyData/HTTPS/hasAuth=false
proxyData/HTTPS/host=127.0.0.1
proxyData/HTTPS/port=3128
systemProxiesEnabled=false
Window > Preferences > Java > Installed JREs
[Add...] Standard VM
For JDK 8, eg:
C:\Program Files\Eclipse Adoptium\jdk-8.0.332.9-hotspot
Choose according to the installed JREs.
If using maven, it uses its own proxy settings, see:
http://www.javahelps.com/2015/08/set-proxy-for-maven-in-eclipse.html
Note: nonProxyHosts must be separated by pipes, eg: <nonProxyHosts>localhost|127.0.0.1|artifactory|monaco</nonProxyHosts>
https://gist.github.com/rsenden/7bc96a3e678b60e61c750517ca8de883
Download STS from https://spring.io/tools
cd && wget https://cdn.spring.io/spring-tools/release/STS4/4.21.0.RELEASE/dist/e4.30/spring-tool-suite-4-4.21.0.RELEASE-e4.30.0-linux.gtk.x86_64.tar.gz
tar -xvzf spring-tool-suite-4-4.21.0.RELEASE-e4.30.0-linux.gtk.x86_64.tar.gz
rm spring-tool-suite-4-4.21.0.RELEASE-e4.30.0-linux.gtk.x86_64.tar.gz
rm sts && ln -s sts-4.21.0.RELEASE/SpringToolSuite4 sts
Run STS!
~/sts &
At the launcher, choose workspace, eg:
/home/<user>/Documents/workspace-sts-4
If you need lombok:
cd ~/.m2/repository/org/projectlombok/lombok
java -jar 1.18.30/lombok-1.18.30.jar
If you can't drag & drop then use the client at menu Help > Eclipse Maretplace...
See page:
https://sites.google.com/site/pawneecity/java-development/test-w-junit5-java#h.h3pevz2becd0
Home> https://www.sonarsource.com/products/sonarlint/features/eclipse/
Plugin update site for Eclipse> https://eclipse-uc.sonarlint.org/
If it doesn't work, see the listing of releases> https://binaries.sonarsource.com/?prefix=SonarLint-for-Eclipse/releases/
Use location for version, eg> https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/7.7.0.60863/
Connect to SonarQube/SonarCloud...
Eg: sonarQube Server URL: https://sonarqube.cou.int/sonar
Token: <either the one previously generated from SonarQube or generate a new one>