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

    JDK not found....?

    Kim Stebel Newbie


      i'm trying to deploy JBoss Portal RC1 from the sources.
      MySQL 4.1
      jboss AS 4.0.1sp1

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

      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...

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

          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...