JDK and JRE configuration with Eclipse/STS

To set path of JDK for your project in eclipse follow below steps:

  • Right click on your project -> select properties.
  • Click in Library tab
  • To remove or update JRE/JDK remove existing from list as below.

See Also: Setup Java/JDK and Eclipse On Window & Linux

Eclipse : How to set JDK/JRE Path
  • Click on add Library and select option as “JRE System Library” and click on Next button.
Eclipse : How to set JDK/JRE Path
  • If you need to use existing JRE/JDK you can select from installed JRE or if need to add new one click on Add button.
  • You will get popup of JRE definition. click on Directory option and select JAVA (JRE/JDK) version home directory as in below screen shot
  • Click on Finish button.
Eclipse : How to set JDK/JRE Path
  • Select one Installed JRE which want to use on your project.
  • Click on “Apply and Close” button.
Eclipse : How to set JDK/JRE Path
  • Finally selected JRE/JDK added to your project.
  • Click on “Apply and Close” button.
Eclipse : How to set JDK/JRE Path

Now your eclipse is ready to develop application with configured JDK version.

Happy Learning !!!

One thought on “JDK and JRE configuration with Eclipse/STS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s