Master java skills

How to check and change current java version in your project in eclipse

1 – Expand the java project. It shows the current version of your java project

2 – Let’s assume, we want to update this to java version 1.8

Right click on your project, select ‘Build Path’ and then ‘Configure Build Path’

3 – Then click on the ‘Libraries’ tab

4 – Then select ‘JRE System Library [JavaSE-17]’ and click oin the Edit button on the right

5 – Select JavaSE-1.8 (jre) from the dropdown as shown below. Click on Finish -> Apply -> Apply and Close