Fel异常Check that your class path includes tools

来源:互联网 发布:matlab绘制矩阵图 编辑:程序博客网 时间:2024/06/06 09:05
  Fel   在build path里添加fel.jar和antlr.min.jar后运行,抛出异常 Exception in thread "main" java.lang.IllegalStateException: Cannot find the system Java compiler. Check that your class path includes tools.jar。

  1、首先查看自己的 jre home 是jdk1.8的而不是jre1.8
      然后在window -> preference -> java -> install jres -> add -> standard vm -> 设置好相应的jre home
  2、如果还不可以 然后再 项目右键Properties=>libraries =>Edit 在弹出的界面中点击add External JARs,将jdk-lib-tools.jar加进去即可。
阅读全文
0 0