Eclipse uses:
Java compile configuration is the Java compilation environment
Java Build path is configured with the Java Runtime Environment
The version of the running environment must be higher than the version of the compiled environment. Otherwise the error
Right-click on Project--properties--java build Path--library
Remove the unwanted version and select the Add Library to select the operating environment.
Eclipse Breakpoint Debugging. View later.
F5:step into
F6:step over
F7:step return
Drop to frame: jumps to the first line of the current method
Resume: Jumps to the next breakpoint and, if there is no next, runs the entire program.
Right-click Watch to see the value of a variable or expression
Points to note for breakpoint debugging:
1. After debugging the breakpoint, to clear all breakpoints in the Breakpoints view
2. After the breakpoint is debugged, be sure to end the JVM running the breakpoint, which is the red button point.
Java Foundation Enhancements