开发者

How can MyEclipse compile Java classes without having a javac?

On my system, I have installed a Sun JRE (not JDK) and MyEclipse IDE.

I ha开发者_开发百科ve searched for javac.exe in the installed files of MyEclipse in Program Files (windows platform), but there I got no results found for javac.exe.

Which tool is MyEclipse using to compile .java files?


Eclipse includes its very own Java compiler, written by the project from scratch. It doesn't always quite agree with Oracle's compiler in some edge cases. They did this to get speedy incremental compilation. You can even use it from ant in place of the javac if you want to roll that way.


#1: normally you need JDK. JDK mean Java Development Kit which includes the java-compiler javac

#2: Don't get what you really want to ask with the second question?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜