ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Selvamohan Neethiraj" <se...@erols.com>
Subject RE: help required!!
Date Mon, 08 Jul 2002 11:26:57 GMT
MessageIf you just loaded JRE, Java compiler will not work.
Check if you have a SDK loaded under %JAVA_HOME% directory ?

dir %JAVA_HOME%\bin\javac.exe

The above command should list Java Compiler.

Thanks,
Selva-
  -----Original Message-----
  From: Swapnil Nigam [mailto:swapnil.nigam@wipro.com]
  Sent: Monday, July 08, 2002 5:55 AM
  To: ant-user@jakarta.apache.org
  Subject: help required!!


  Hi..,
  I am using Ant (Apache Ant version 1.5Beta3 compiled on June 22 2002) for
compilation of JacORB (by Openfusion). I continue to get the following
error:

  ==============================================
  BUILD FAILED
  C:\swapnil\swap\installed\JacORB\JacORB1_3_30\src\java_cup\build.xml:16:
Cannot
  use classic compiler, as it is not available.  A common solution is to set
the environment variable JAVA_HOME to your jdk directory.
          at
org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:
  110)
          at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:841)
          at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:683)
          at org.apache.tools.ant.Task.perform(Task.java:317)
          at org.apache.tools.ant.Target.execute(Target.java:309)
          at org.apache.tools.ant.Target.performTasks(Target.java:334)
          at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
          at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:368)
          at org.apache.tools.ant.Task.perform(Task.java:317)
          at org.apache.tools.ant.Target.execute(Target.java:309)
          at org.apache.tools.ant.Target.performTasks(Target.java:334)
          at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
          at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
          at org.apache.tools.ant.Main.runBuild(Main.java:606)
          at org.apache.tools.ant.Main.start(Main.java:195)
          at org.apache.tools.ant.Main.main(Main.java:234)

  Total time: 12 seconds



  JAVA_HOME is set, as is evident from following echo:

  C:\swapnil\swap\installed\JacORB\JacORB1_3_30>echo %JAVA_HOME%
  C:\jdk1.3.1_04

  =========================================

  Where might I be messing up? Any help in this regard would be greatly
appreciated.

  rgds,

  Swapnil.




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message