Troubleshooting Eclipse - Configuring Java JDK
This guide provides step-by-step instructions on how to troubleshoot and configure the Java JDK in Eclipse. By following these steps, users can ensure that Eclipse is properly set up to work with the Java development environment, allowing for smoother and more efficient programming.
Hafeez Baig
|
17 steps
|
54 seconds
1
Open **eclipse-workspace** in **Eclipse IDE** and on the Navigation bar click on the **Window** dropdown
2
Select the option **Preferences**
3
**Preferences** wizard will open, on the left bar click on the **Installed JREs** dropdown option
4
**Installed JREs** wizard will open, select the Name **\\jre**
5
Click on the **Add...** button
6
**Add JRE** wizard will open, select the option **Standard VM**
7
Click on the **Next >** button
8
Click on the **Directory...** button
9
**Select a Folder** wizard will open, click on the path search bar
10
Type "**C:\\Program Files**" in the path search bar
11
Open **Java** folder
12
Open the **jdk-21** folder
13
Click on the **Select Folder** button
14
Click on the **Finish** button
15
On the **Installed JREs** wizard, select the Name **jdk-21**
16
Click on the **Apply** button
17
Click on the **Apply and Close** button
information ordinal icon
Congratulations! you have successfully selected latest jdk for Eclipse IDE