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
Post a Comment