Pages

Thursday, May 22, 2014

How to solve build path specifies execution environment javase-1.6 eclipse


 

  1. This occurs when you try to compile your application on JRE6 and it's not installed in Machine or Eclipse. So check whether its in your machine (C:\Program Files\Java\jre6)
  • If it already exist Set it into Your Eclipse.Follow the below instructions
    • Windows ->
    • Preferences ->
    • Java->
    • Installed JREs ->
    • Add ->
    • Standard VM ->
    • JRE Home (C:\Program Files\Java\jre6)Then It’s all.You can replace jre6 by newer versions jre7,jre8,,,,  :)
2. If the problem already exist
    • Right click on your project->
    • properties->
    • Java compiler option(Left side)->
    • Under JDK compliance section (Right side) change into “1.7″->
    • Apply(Clean & build)
Hey friend that’s all :):)

No comments:

Post a Comment