Setting Up
-
4. Java Setup
How to Install Recommended Oracle Java JDK on Ubuntu
To check your current JDK version:
javac --version && java -XshowSettings:properties -version 2>&1 | grep 'java.vendor'
If it’s the official Oracle JDK, the output will include:
java.vendor = Oracle Corporation
.
Provide to Set also the $JAVA_HOME Env Var! -
5. Setting Up
Then to Install Spring Tool Suite
First, Set the SuperUser as Owner with:sudo chmod -R root:root /tpm/spring-tool-suite
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Next Relocate Spring Tool Suite:sudo mv /tpm/spring-tool-suite /opt/
And finally, Make a Symlink for Easy Launching:
sudo ln -s /opt/spring-tool-suite/sts[yourRelease]/STS /usr/local/bin/STS
Just Replace [yourRelease] with the Actual release…
To Find out exactly which one do:ls /opt | grep sts/ | grep sts
Contents