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加进去即可。
版权声明:本文为博主原创文章,未经博主允许不得转载
本文介绍了解决在Fel中添加fel.jar和antlr.min.jar后出现的CannotfindthesystemJavacompiler异常的方法。首先确认使用的是JDK而非JRE,并确保classpath包含tools.jar。
256

被折叠的 条评论
为什么被折叠?



