首页 > 代码库 > Intellij编译时报“java: System Java Compiler was not found in classpath”
Intellij编译时报“java: System Java Compiler was not found in classpath”
问题如下:
http://stackoverflow.com/questions/19889145/setting-up-intellij-12-idea-with-java-1-7-and-resolve-java-system-java-compile
- IntelliJ 12 CE downloaded and installed
- Latest Java 1.7 downloaded and installed
- JDK was setup to make and run the project
I faced the following strange error
Error: java: System Java Compiler was not found in classpath
The solution that fixed my problem was as follows:
In:
Project Settings > Compiler > Java Compiler
I changed the drop down Use compiler
from Javac
to Eclipse
!
Non of the other solutions I found on the web was helpful. Hope this helps you my unknown fellow reader.
IMPORTANT: THIS HAD NOTHING TO DO WITH MY JAVA_HOME AS IT WAS SET CORRECTLY.
Intellij编译时报“java: System Java Compiler was not found in classpath”
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。