1 Reply Latest reply on May 23, 2005 3:26 PM by echoi1975

    JDK not found....?

    wittgenstein

      Hello,

      i'm trying to deploy JBoss Portal RC1 from the sources.
      versions:
      MySQL 4.1
      jboss AS 4.0.1sp1
      jdk1.5.0_03

      the error message i get when running build.bat is:
      "BUILD FAILED

      file:C:/Programme/jboss-portal-2.0-RC-src/common/../tools/etc/buildfragments/targets.ent:95: 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 does point to the correct directory...i even checked for spelling...

      any ideas? THX in advance...
      Kim

        • 1. Re: JDK not found....?
          echoi1975

          can you print your JAVA_HOME value...

          also if that is set correctly, you might want to add the rt.jar to your CLASSPATH env variable. I'd also double check the reference to the JAVA_HOME inside of the ant build file to make sure it's pointing to what you think it should be pointing to...