Buildfile: E:\HelloWorld\build.xml
prepare:
[delete] Deleting directory E:\HelloWorld\build
[mkdir] Created dir: E:\HelloWorld\build
compile:
[javac] Compiling 3 source files to E:\HelloWorld\buildBUILD FAILED
E:\HelloWorld\build.xml:22: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"
prepare:
[delete] Deleting directory E:\HelloWorld\build
[mkdir] Created dir: E:\HelloWorld\build
compile:
[javac] Compiling 3 source files to E:\HelloWorld\buildBUILD FAILED
E:\HelloWorld\build.xml:22: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"
解决方案 »
- 有没有人弄过logicaldoc
- hibernate反向工程生成javabean时,如何自动将数据库表字段的注释添加到javabean的变量后
- 定时提醒功能的设计
- axis 怎么传递 c# dataset
- 求解一行关于jndi代码
- 请问用cos上传文件方法中的com.oreilly.servlet.multipart.CoverFileRenamePolicy 找不到怎么办?
- hibernate 小练习找不到错误啊
- jsp页面,怎么出现保存文件对话框
- 从oracle数据库中直接返回一个数组,为什么得出来的是乱码?
- 动态生成JSP的问题
- 【讨论】模块间调用设计
- Vector vet = new Vector()的问题
" JAVA_HOME does not point to the JDK"
JAVA_HOME 没有指向JDK,指向了jre了。
这简单的报错,LZ自己翻译一下就能发现了。