Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i find out the JDK version Eclipse is using?

Tags:

java

eclipse

I see JRE all over the place, but i can not be sure which JDK is compiling my code. How do i find out?

like image 677
JavaRocky Avatar asked Apr 04 '10 07:04

JavaRocky


People also ask

How do I change the default JDK in Eclipse?

Configure the default JRE Set it as the default in Eclipse by selecting Preferences -> Java -> Installed JREs. Add the installed JDK and select the checkbox, making it the default.

Where is the Java version set in Eclipse?

In eclipse go to Window -> Preferences -> Java -> Compiler , there you can change the java versions. Hope it helps.


2 Answers

You can still check/set which JDK version you want to compile to. If you go to Window->Preferences, then click "Java" from the menu on the left and then "Compiler". The first setting allows you to see which JDK version is being complied with.

I know this doesn't directly answer your question since JDK isn't actually compiling it, but hopefully it helps!

like image 87
Michael Patterson Avatar answered Sep 27 '22 21:09

Michael Patterson


Actually Eclipse has its own compiler. You can develop java apps using only the JRE and Eclipse

like image 25
Alex Jasmin Avatar answered Sep 27 '22 19:09

Alex Jasmin