5 Replies Latest reply on Jul 21, 2008 4:24 AM by jaikiran pai

    Do we have to install JDK separately?

    Arumugam D Newbie

      Hi,

      I am new to JBoss AS. If i have to use JBoss, do we have to install JDK separately and set it in JAVA_HOME path?

      Also, in production environment, is it enough to have JRE alone instead of JDk? Will JBoss work with JRE alone?

      Thanks.

        • 1. Re: Do we have to install JDK separately?
          jaikiran pai Master

           

          "arumugamsd" wrote:

          I am new to JBoss AS. If i have to use JBoss, do we have to install JDK separately and set it in JAVA_HOME path?


          Yes, that has to be installed separately.

          "arumugamsd" wrote:

          Also, in production environment, is it enough to have JRE alone instead of JDk? Will JBoss work with JRE alone?



          With the latest stable version 4.2.3 (which got released just a few days back), a JRE alone is enough to get JBoss working. Which version of JBoss do you have?


          • 2. Re: Do we have to install JDK separately?
            Arumugam D Newbie

            Thanks for your response.

            We are yet to decide on the JBoss version. This is a new development project and we are yet to finalize on the version.

            I read thr' the release notes of 4.2.3. It says, JAVA_HOME can point to JRE under JBossAS 4.2.0.GA. Does that mean, even 4.2.0 support JRE alone?

            Do you have any idea on which JBoss version provides support for Struts 2.0, Spring 2.5.x and Hibernate 3.x?


            • 3. Re: Do we have to install JDK separately?
              jaikiran pai Master

               

              "arumugamsd" wrote:

              I read thr' the release notes of 4.2.3. It says, JAVA_HOME can point to JRE under JBossAS 4.2.0.GA. Does that mean, even 4.2.0 support JRE alone?


              There was a minor bug http://jira.jboss.com/jira/browse/JBAS-5206 in 4.2.0 GA with JRE support, which got fixed in 4.2.3. If you want to use the 4.2.0, then there is a simple workaround to get it working with just the JRE. But since you are not yet decided on which version to go for, its always better to start off with the latest stable version.

              "arumugamsd" wrote:

              Do you have any idea on which JBoss version provides support for Struts 2.0, Spring 2.5.x and Hibernate 3.x?


              JBoss-4.2.3 comes with Hibernate 3.2.4.sp1. However all these libraries (Struts, Spring and Hibernate) are application level libraries and each application can use its own version of these libraries.



              • 4. Re: Do we have to install JDK separately?
                Arumugam D Newbie

                Ok thanks.

                If I don't have a jdk installation, will jboss-j2ee.jar take care of compiling jsp files deployed in the application?

                • 5. Re: Do we have to install JDK separately?
                  jaikiran pai Master

                   

                  "arumugamsd" wrote:


                  If I don't have a jdk installation, will jboss-j2ee.jar take care of compiling jsp files deployed in the application?



                  There's an internal compiler (i guess Eclipse JDT) which takes care of compiling the JSPs. So you need not have a JDK installed for running JBoss.