How to solve build
path specifies execution environment javase-1.6 eclipse
- 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 doesn't exist please download and install it into your machine Link:http://java.com/en/download/help/windows_manual_download.xml
- 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