6 Replies Latest reply on Feb 7, 2004 2:38 PM by ibruell

    BUILD FAILED, javac not found?

    orclex

      Hello,
      I have just downloaded the sources for jboss 3.2.3 and want to compile it (linux). But after calling build.sh the process stops with

      <build.sh>
      ...
      [javac] Compiling 203 source files to /downloads/jboss-3.2.3-src/common/output/classes

      BUILD FAILED
      file:/downloads/jboss-3.2.3-src/common/build.xml:186: 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


      My JAVA_HOME points to
      "/usr/local/java"
      and this path contains the following folders:
      bin
      demo
      include
      jre
      lib
      man

      "/usr/local/java" is the top-directory to my j2sdk1.4.2.
      I can call java or javac myself and "which javac" gets
      /usr/local/java/bin/javac

      So why does build.sh not find my javac-compiler?
      What have I to do?

      Thanks in advance,
      Alex