1 Reply Latest reply on Feb 19, 2006 12:09 PM by Scott Stark

    Getting 'no such file or directory

    NewJBOSSUser Newbie

      Hi All,
      I am new to linux based JBOSS. I am using Redhat9.0 with, JDK1.5.0_06, MYSQL 4.1.18.0 and have installed JBOSS-4.0.3SP1.

      JBOSS installation path is /usr/local/jboss-4.0.3SP1/

      I am getting this error when I run run.sh

      here is the output i got>:

      run.sh: Missing file: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/jdk1.5.0_06/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: /usr/local/jboss-4.0.3SP1
      
       JAVA: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/jdk1.5.0_06/bin/java
      
       JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
      
       CLASSPATH: /usr/local/jboss-4.0.3SP1/bin/run.jar:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/jdk1.5.0_06/lib/tools.jar
      
      ================================================


      Any idea? plz i need urgent help.

      Regards,

      -A NewJBOSSUser