1 Reply Latest reply on Apr 5, 2004 10:07 AM by ahardy66

    JAVA_HOME set, not finding /lib/tools.jar

    santoshamb

      I'm trying to set up JBoss - In /etc/default/jboss I have the line:

      JAVA_HOME=/usr/lib/j2sdk1.4.2

      I've verified that /usr/lib/j2sdk1.4.2 is good, and that lib/tools.jar exists

      However, when I start jboss using run.sh it gives me the following error at the beginning of the startup process:

      run.sh: Missing file: /lib/tools.jar
      run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.

      All documentation that I can find says that this error points to an improperly configured JAVA_HOME. But as far as I can tell, JAVA_HOME is set correctly. What else could be causing this problem?

      Thanks for the help,

      Ben