Where does Eclipse find javac to compile a project?

Here is what I have:

JAVA_HOME=C:\Software\Java\jdk1.5.0_12 (points to JDK 5.0)

In Eclipse "Installed Runtimes" I have: jre 1.5.0_12 (points to JRE 5.0) jre 1.6.0_3 (points to JRE 6.0) (this one is default)

I do not have "javac" on my PATH (i.e. I cannot run javac -version from command line if I am not in JDK/bin).

My project is set to use jre 1.6.0_3 and compiler's Compliance Level is set to 6.0.

Question is: how Eclipse is able to compile my project? Where it finds a compiler for 6.0? Moreover, is there a way to tell precisely which compiler (i.e. path to javac) is used by Eclipse?

P.S. OS XP SP2 if it is relevant P.P.S. I do not have any -vm set in eclipse.ini. In eclipse I see eclipse.vm=C:\Program Files\Java\jre6\bin\client\jvm.dll and it is still a JRE.

Answers


Eclipse has the JDT which includes the incremental compiler so it does not need an external one unless that is your wish :)


Need Your Help

What is the use of the square brackets in sql statements?

sql-server sql-server-2005 syntax

I've noticed that Visual Studio 2008 is placing square brackets around column names in sql. Do the brackets offer any advantage? When I hand code T-SQL I've never bothered with them.

how to copy directory with all file from c:\\xxx\yyy to c:\\zzz\ in python

python python-2.7

I've been trying to use "copytree(src,dst)", however I couldn't since the destination folder should exists at all.Here you can see the small piece of code I wrote:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.