2 Replies Latest reply on Dec 6, 2004 7:05 PM by Tom Haddon

    Missing /lib/tools.jar

    Tom Haddon Newbie

      Hi Folks,

      Newbie here. I have a problem when starting up JBoss. This is on RHEL3. I'm using Java(TM) 2 SDK, Standard Edition, Version 1.4.2.

      When I run the run.sh script, I get the following:

      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.

      I've checked in the run.sh, and the important part seems to be this:

      if [ "x$JAVAC_JAR" = "x" ]; then

      if I run "echo $JAVA_HOME" at the console, I get "/usr/java/j2sdk1.4.2_02", so I would don't understand why it seems to be populating this as a empty variable in this portion of the script. I've also verified that $JAVA_HOME/lib/tools.jar exists.

      I get a bunch of more serious errors later on down the line, but for the moment I'm assuming they're related to this. Can anyone help?

      Thanks, Tom