Skip to content
Advertisement

how do I add JRE to Spring Tool Suite

I’ve just installed JDK 16 on MacOS:

java version "16.0.1" 2021-04-20
Java(TM) SE Runtime Environment (build 16.0.1+9-24)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)

$echo $JAVA_HOME

/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home

So now how do I define new JRE in STS in Installed JREs window? Which folder do I pick up?

enter image description here

Advertisement

Answer

windows->preferences->installed JRE – JRE Home :go to sts installed folder c:…sts-4.10.0.RELEASEpluginsorg.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_15.0.2.v20210201-0955jre. strong text

Advertisement