2 Replies Latest reply on Jun 3, 2005 4:42 AM by Darran Lofthouse

    JBoss 3.2.7

    Tahir Raza Newbie


      where to put jdk for jboss on a redhat linux 9 machine?

      i am not familiar with linux, therefore, this problem arises. i installed the j2sdk 1.4.2 on this machine and the setup didnt ask for install location. but i found the jdk in /usr/java/j2sdk1.4.2_08. i made a JAVA_HOME variable in /etc/profile. i put the jboss in /usr/jboss/jboss-3.2.7.

      when i entered this command echo $JAVA_HOME it gives correct path. i ran run.sh but it says the JAVA_HOME path does not point to jdk. after this i entered the echo command. but this time it returns empty string.

      if this makes sense to you then please answer this, as it is not making any sense to me.

        • 1. Re: JBoss 3.2.7
          Tahir Raza Newbie


          i actually didnt restart the machine but logged it off. the problem was, i was doing it through VNC. i logged off the machine which didnt kill the session with my machine.

          after it logged on, i again started using it from my machine and this amazing this happened. when i hit echo command from my machine, result differ from that of when i hit this command from that machine.

          now the server works fine when i restarted the machine even on the VNC :)

          may be this because i am using windows on my machine.

          • 2. Re: JBoss 3.2.7
            Darran Lofthouse Master

            No it is probably because the contents in '/etc/profile' are not processed until you start a new session - you probably had a combination of new and old sessions running which was why you were getting wierd results.