What is the difference between javac and the Eclipse compiler?

后端 未结 4 1141
误落风尘
误落风尘 2020-11-22 03:10

Is Eclipse\'s Java compiler just a wrapper around the same core that the javac program is wrapped around, or is it a separate compiler altogether? If the latter

4条回答
  •  故里飘歌
    2020-11-22 03:28

    It is a separate compiler altogether. This is needed as javac doesn't allow compilation of slightly broken code, from the eclipse site

    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.

提交回复
热议问题