Why is Java giving me errors that eclipse didn't? -


for reason of .java files, eclipse gives me no errors , compiles them fine. runs them how want. when try compile them javac or run .class files eclipse compiled, errors. know why?

eclipse has implemented own compiler called eclipse compiler java (ecj).

it different javac, compiler shipped sun jdk. 1 notable difference eclipse compiler lets run code didn't compile. if block of code error never ran, program run fine. otherwise, throw exception indicating tried run code doesn't compile.

you try netbeans if don't want have problems :)


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -