No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
其實只要按以下幾個步驟進行就可以重設JDK的位置︰
- Go to Window -> Preferences -> Java -> installed JREs
- Select the JDK you are using (C:\Program Files\Java\jdk1.6.xx)
- Press Edit to see the list of jars including tools.jar, OW you can add it as Add External JAR
Reference: Maven Package Compilation Error
No comments:
Post a Comment