4 Replies Latest reply on Nov 3, 2003 5:52 AM by darranl

    tools.jar missing on debian

    edraven

      I did a apt-get install jdk1.1 and jdk1.1-dev

      Which package is tools.jar in? locate tools.jar returns nothing after running updatedb.

      ~/jboss-3.2.2/bin# ./run.sh
      run.sh: Missing file: /usr/lib/jdk1.1/lib/tools.jar
      run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
      ================================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /root/jboss-3.2.2

      JAVA: /usr/lib/jdk1.1/bin/java

      JAVA_OPTS: -Dprogram.name=run.sh

      CLASSPATH: /root/jboss-3.2.2/bin/run.jar:/usr/lib/jdk1.1/lib/tools.jar

      ================================================================================

      Unable to initialize threads: cannot find class java/lang/Thread

        • 1. Re: tools.jar missing on debian

          JBoss3 requires java 1.3

          Regards,
          Adrian

          • 2. Re: tools.jar missing on debian
            edraven

            what should i be using for sources.list?

            # apt-get install j2re1.3
            Reading Package Lists... Done
            Building Dependency Tree... Done
            Some packages could not be installed. This may mean that you have
            requested an impossible situation or if you are using the unstable
            distribution that some required packages have not yet been created
            or been moved out of Incoming.

            Since you only requested a single operation it is extremely likely that
            the package is simply not installable and a bug report against
            that package should be filed.
            The following information may help to resolve the situation:

            Sorry, but the following packages have unmet dependencies:
            j2re1.3: Depends: j2se-common (> 1) but it is not installable
            E: Sorry, broken packages

            • 3. Re: tools.jar missing on debian
              edraven

              I added deb ftp://ftp.tux.org/pub/java/debian woody main non-free and got j2re1.3 and installed it, but still, I have no tools.jar


              • 4. Re: tools.jar missing on debian
                darranl

                You need to use a JDK not JRE