See the following configuration of sts.ini file:-
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
-startup
plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.700.v20180518-1200
-vmargs
-Dosgi.requiredJavaVersion=1.8
--add-modules=ALL-SYSTEM
-Xms256m
-Dosgi.module.lock.timeout=10
-Dorg.eclipse.swt.browser.IEVersion=10001
-Duser.name=Vinod Kumar
-Xmx512m
-vm
C:\Program Files\Java\jdk1.8.0_162\jre\bin\server\jvm.dll