Eclipse reports the following two errors:
The project cannot be built until build path errors are resolved HelloWord Unknown Java Problem
Unbound classpath container: 'JRE System Library [JavaSE-1.7]' in project 'java project name' java project name Build path Build Path Problem
it seems that MyEclipse can't find the classpath of Java 1.7, so I checked the Java environment variable settings, but found no problem. Then I had to go to Google to see if I could find a solution, and finally in stack overflow I found this post on. The main idea of the solution is as follows:
1. Check whether JDK is installed correctly
2. After correct installation, open MyEclipse/eclipse window - > Preferences -> Java –> Configured with installed jres
the specific configuration method is very simple:
is to click "add" on the right side of the window, then add a "standard VM" (which should mean standard virtual machine), and then click "next"
in the "JRE home" line, click "directory..." on the right to find your Java installation path, such as "C: \ program files \ Java \ jdk1.7.0"_09”
Similar Posts:
- Dubbo learning — import eclipse exception unbound classpath container (2)
- Error reporting when importing Maven project from MyEclipse
- The causes and solutions of the exception of the specified JRE installation does not exist
- MyEclipse startup error: ‘building workspace’ has been accounted for a problem solution
- [Solved] Eclipse project red exclamation mark: build path problem
- Ubuntu16.04: How to Solve “no java virtual machine was found after searching the following locations:” Error
- Steps of MyEclipse / eclipse importing sun.misc.base64encoder jar package
- Maven Error: Failed to read artifact descriptor for xxx:jar and missing artifact maven dependency
- [Solved] Eclipse Error: Access restriction: The type ‘BASE64Decoder’ is not API
- How to handle the eclipse error message the declared package does not match the expected package