Unable to find a javac compiler

I am trying to package my web application into war file using Ant. When I build, I am getting the following error: C:\Documents and Settings\Administrator\workspace\Assignment7\build.xml:67: 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" The following is my build.xml ==="complie"=== "PACKAGING THE FILES" How can I compile a class file that does not have a main class? How do I set the class path? For reference, I am using Eclipse.

以上就是Unable to find a javac compiler的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准