- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
Actually, I'm running JDK both on STS, both on Eclipse.
I deleted .metadata directory under STS and Eclipse workspace, than restart STS, but the same error comes up..