¿Cómo depurar Java en Eclipse?
1.
En Eclipse, Window-gt; Preferencias-gt; Java-gt; Compilador, asegúrese de que estén seleccionadas las siguientes opciones:
2. p>
JRE, seleccione Agregar, seleccione la ruta JDK en JRE
Inicio (porque solo JDK admite la depuración de código fuente) y asígnele un nombre apropiado. Salga de guardar y seleccione la ruta JDK.
3.
Haga clic derecho en su proyecto, Propiedades, Java
Construir
Biblioteca Path-gt, busque JRE
; p>
Sistema
Biblioteca, seleccione Editar.
JDK creado en JRE.
4.
Debe completarse
.