This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Dear Sir, I Am Facing Some Problem In Eclipse
1- IS the Eclipse Has its Own Compiler(Like javac) and its can be seen inside of windows->preferences-java-compiler??
2-Its Different From Installed Javac Comiler as i Read Then Why Should I Need to Installed java Before Eclipse IDE Using?
3- If I installed Java Version 1.7 In MY Machine Then Can I change The Compiler Of Eclipse Or It Will Use Its Own Compiler and How?
1) No. Eclipse picks up the JDK from your machine
2) See above
3) Yes. Eclipse->Preferences->Java->Installed JREs->Add. Once you add a different JDK (yeah the JRE is a misnomer), make sure to select the check box so that version is used.
Dear Sir, I have done as you Said Accordingly ( Eclipse->Preferences->Java->Installed JREs->Add) I have Given the path Of Installed JDk 1.7. and i have Seleclected the Check Box as Default but still Is showing (windows->preferences-java-compiler) in drop down as 1.3 Or 1.4 Not Showing 1.7. But Today I am Using Latest version of eclipse JUNO It showing 1.3,1.4,1.5,1.6,1.7. And I have Selected 1.7.
Dear Sir One more thing As you said its Take my system JDK but In my laptop ,there is not 1.3 Then Why Its showing 1.3 Or 1.5 In dropDown Or There Is no Effect To Choosen 1.3 Or 1.4 Its depend On the JRE Which The Eclipse is Using??
If you previously created any projects, you might have to go into those projects and change the Java level in them; they will not be automatically updated to 1.7. To do this, right-click each project, select Properties and look at the Java Compiler entry.