3 Replies Latest reply on Mar 16, 2005 7:43 AM by paulvl

    reletive path's

    paulvl

      I'm trying to install J2SE, JBoss, ANT and CVS in a test directory on the server. Because I know the location may change (!)at least(!) once, I try to keep things a relative as possible.
      How far can I go in this.
      Structure now:

      appserv/j2eesdk-1_4-solaris-sparc/
      appserv/jboss-4.0.2RC1/
      ...
      ...

      Can't I set the JAVA_HOME for JBoss to
      setenv JAVA_HOME ../j2eesdk-1_4-solaris-sparc/
      some way?
      Frankly I don't oversee the possibilities here...
      Any insight?

      Thnx in advance!
      Greetz Paul


        • 1. Re: reletive path's

          try

          setenv JAVA_HOME ../../j2eesdk-1_4-solaris-sparc/


          • 2. Re: relative path's
            paulvl

            are there any problems I may get from keeping the path relative in stead of absolute?

            • 3. Re: reletive path's
              paulvl

              Might it be a good idea to chroot the whole ANT, JBoss, CVS and J2EE package?
              I'm not realy into unix, so I might be suggesting something realy stupid, so let me know.

              Or maybe someone has some other suggestion to tackle the problem I discribed?

              Thnx in advance!
              Paul