This doesn\'t work -vm %JAVA_HOME%/bin/javaw.exe
How can I replace %JAVA_HOME% with full path on windows 8 when path contains space (\"program files\" directory)
if you are using mac, proceed with following steps:
Move to following directory:
/sts-bundle/STS.app/Contents/Eclipse
Add the java home explicitly in STS.ini file:
-vm /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin -vmargs
Make sure not to add all the statements in single line