Eclipse Runtime Program Running Java Programs
We can do this in the package Explorer view
You can quickly run Java programs in the package Explorer view.
Package Explorer View:
Right-click the Java class that contains the main function select Run as > Java application
You can also select the class that contains the main method in the Package Explorer view and press the shortcut key: Alt + Shift + X, J
There are two ways to create a new run configuration (run config) that we can use to launch Java applications.
If the run configuration has been created, you can start the Java app by choosing run Configurations from the Run menu, click the name of the running configuration, and then click the Java application that runs the button.
The run option in the Run menu restarts the Java app that you started earlier.
Restart the Java application shortcut key to Ctrl + F11 before booting.
Eclipse Runtime Program