Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在play 2中运行我的scala项目时收到错误“IOException:无法运行程序“javac”:CreateProcess error = 2,系统找不到指定的文件。为什么会发生这个错误。请解决这个问题。
检查您是否已定义环境变量 JAVA_HOME 并将其设置为 JDK 的根目录(不仅仅是 JRE,不包括 javac)
对于在使用 xmlbeans 时搜索此错误的任何人(我被迫维护一个使用 xmlbeans 并得到此错误的旧应用程序),请为 xmlbeans 使用 jdk 5 而不是更高版本,此错误就会消失