I've installed Eclipse on a Windows machine some time ago. A couple of days back I was doing some Java coding and I noticed I don't have a JDK, but still Eclipse could compile & run the Java classes. Does it have a compiler included?
funny. here are some more as well.
Matt Ball
2009-08-17 17:16:21
+8
A:
Yes Eclipse contains it's own incremental compiler.
An incremental Java compiler. Implemented as an Eclipse builder, it is based on technology evolved from VisualAge for Java compiler. In particular, it allows to run and debug code which still contains unresolved errors.
For some history take a look here:
http://onjava.com/pub/a/onjava/2006/06/28/whats-new-in-eclipse-3-2-java-development-tools.html
pjp
2009-08-17 17:14:30
can I execute it from a command prompt/shell? I mean, what's the executable's name?
Geo
2009-08-17 17:36:38
Yes I beleive you can. Back in the day people used to use the Eclipse compiler over the Java one for compiling JSP pages as it was quicker. Here's a link about running the Eclipse compiler http://publib.boulder.ibm.com/infocenter/rsmhelp/v7r0m0/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm
pjp
2009-08-17 17:49:36