3 ms·
About Eclipse: in most cases Eclipse never "invokes" a Java compiler--the compiler is built into the IDE! That's right, those .class files are getting built by
by sterwill 17y ago
About Eclipse: in most cases Eclipse never "invokes" a Java compiler--the compiler is built into the IDE! That's right, those .class files are getting built by the JDT Core plug-ins that come with Eclipse [1]. javac is never even used.
Of course, you could configure Eclipse to run ant or make or something else to compile your code, but the editor is still driving the integrated incremental compiler to mark up all your syntax errors.
[1] http://www.eclipse.org/jdt/core/index.php http://www.eclipse.org/jdt/core/index.php
- brown9-2 17y agoThis is somewhat misleading. JDT is a compiler in the same sense of the term as javac is a compiler. It's just a different compiler, with some different features.
- InclinedPlane 17y agoI think you're just misparsing the parent post re: in most cases Eclipse never "invokes" a Java compiler. The meaning seems to be that a Java compiler is never invoked (because it's built into the IDE), not that a Java compiler is never used.
- diN0bot 17y agoit's not hard to invoke whatever compiler you want. when i write python in eclipse using pydev, i get build errors when i save (though i run the programs from the command line for various reasons).