java - How Eclipse work with and without JDK? -


i have eclipse java installed on 64-bit windows 10. , since than, able java development without configuration.

previously, automatically build selected default. when manually delete .class files, , want build again, nothing happens. when try run program, not surprised error message says cannot find class files.

notice that, beginning, didn't configure jdk in eclipse, , worked. found source on stack overflow says, eclipse has built-in compiler such not need javac in jdk.

can develop java programs if have jre installed?

but why after deleted .class files, built-in compiler not work ?

  1. regarding jdk: if using eclipse, don't need jdk because eclipse has it's own compiler. plugins maven work jdk required.

  2. regarding building project: have tried cleaning , rebuilding project? clean command available under project tab.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -