Alex Rivera | Logout

Which Java is Eclipse using?

Asked 2012-09-16T10:56:14.383
9

I downloaded 'Eclipse IDE for Java EE Developers' for Linux from eclipse.org. I am able to write, compile and run Java programs. But I don't understand what JDK / JRE is being used.

If I start a new 'Java Project' I can choose which JRE to use, but if I choose for instance 'JavaSE-1.6' I still don't know what that is? Oracle? IBM? And I don't know where that JRE is in my file system.

Let's say I want to use that same JRE to execute my Java program from command line, how do I find the 'java' executable?

Edit
Report

1 Answer

3

It is up to your configuration.

Go to Windows/Preferences, then check:

Java/Installed JREs and Java/Compiler/

You can also override your settings per project: project preferences, Java Compiler.

answered 2012-09-16T10:59:56.093

Your Answer