开发者

How can MyEclipse compile Java classes without having a javac?

开发者 https://www.devze.com 2022-12-08 08:46 出处:网络
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

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

精彩评论

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

关注公众号