0

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

I have 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?

Charles
  • 50,943
  • 13
  • 104
  • 142
mogli
  • 1,549
  • 4
  • 29
  • 57

2 Answers2

1

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.

bmargulies
  • 97,814
  • 39
  • 186
  • 310
-1

#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?

Atmocreations
  • 9,923
  • 15
  • 67
  • 102
  • ##1 But .java files are also getting compiled with plain jre also (that's the bit i am not getting). ##2 check out the last comment of the link in 2nd question. – mogli Oct 06 '09 at 19:05
  • #1: hmmm... don't know how that should work. Java files are only _executed_ with JRE. (Java **Runtime** Environment) Want to know how that could be done if it was possible! #2: Ah now I got it. I think anyone is notified who already posted somehow in this post. If not, there's no way to notify the others except posting another comment to the answer, respectively. – Atmocreations Oct 06 '09 at 19:26