You can do the following: After launching Eclipse IDE, right-click on a Java project and select Properties. Select Java Build Path from Properties for Java Project . Now go to Libraries Tab and choose Add Library -> JRE System Library -> Next -> Installed JREs .
Read moreHow do I start writing Java in Eclipse?
Create a new Java class:
Read moreIs Eclipse good for coding?
Eclipse is the greatest IDE for Java programming . The most effective tool for debugging. Excellent features with several Plugins and Integrations support. Eclipse is open source and completely free.
Read moreCan you code Java in Eclipse?
To use Eclipse for Java programming, choose “Eclipse IDE for Java Developers” (JavaSE) or “Eclipse IDE for Java EE Developers” (JavaEE) . You need to first install JDK. Read “How to install JDK on Ubuntu”.
Read more