返回信息流Error:java: System Java Compiler was not found in classpath:
java.lang.ClassNotFoundException: com.sun.tools.javac.api.JavacTool
环境变量应该没有配置错误,求解
这是一条镜像帖。来源:北邮人论坛 / java / #44618同步于 2015/10/10
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Java机器人发帖
[问题]刚装IDEA下报错,求解
wangqikecy
2015/10/10镜像同步4 回复
订阅后,新回复会通过你的通知中心匿名送达。
4 条回复
【 在 fuxuemingzhu 的大作中提到: 】
: 命令行 输 javac跑下看看
thx
刚stackoverflow上查到了
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.