5 Replies Latest reply on Apr 4, 2002 9:35 PM by Mike Finn

    Ant test of doc EJB example

    Emerson Cargnin Newbie

      I'm testing ant instalation, but I ahve the following problem :

      when I take the "s out and make a bat of this (more than 128 char per line not allowed :( ) I get the following error :
      C:\jboss\teste>C:\jdk1.3.1\bin\java -classpath C:\jdk1.3.1\lib\tools.jar;C:\jdk1
      .3.1\jre\lib\rt.jar -Dant.home=C:\jakarta-ant-1.4\ org.apache.tools.ant.Main
      Buildfile: build.xml

      init:

      ASimpleHelloObject:

      compile:
      [javac] Modern compiler is not available - using classic compiler
      [javac] Compiling 1 source file to C:\jboss\teste

      BUILD FAILED

      C:\jboss\teste\build.xml:22: Cannot use classic compiler, as it is not available
      A common solution is to set the environment variable JAVA_HOME to your jdk dire
      ctory.

      Total time: 4 seconds

      obs: The JAVA_HOME is set :
      .
      .
      BLASTER=A220 I5 D1 H5 P330 T6 E620
      JAVA_HOME=C:\jdk1.3.1
      CLASSPATH=C:\jdk1.3.1\jre\lib\rt.jar
      .
      .

      what's wrong???

      Thanks in advance