4 Replies Latest reply on Feb 10, 2006 9:54 AM by svvp

    Can i run JBoss only using JRE with tools.jar or i need JDK

    svvp

      Hi Guys!!!
      It would be a great help for me if you can answer this question.
      So... my question is:
      is it possible to run jboss using only JRE together with tools.jar.
      I mean my environment variable JAVA_HOME points to JRE folder not JDK folder. But in the %JAVA_HOME%\lib folder i placed file tools.jar to satisfy this requirement from run.bat: "set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar".

      I know it is crazy question, but if you can give me yours comments!! - it will be great deal for me.
      Thanks in advance!!

        • 1. Re: Can i run JBoss only using JRE with tools.jar or i need

          I have no idea why you would do that but the best thing to do would be to try by yourself :)

          • 2. Re: Can i run JBoss only using JRE with tools.jar or i need
            svvp

             

            "the-gtm" wrote:
            I have no idea why you would do that but the best thing to do would be to try by yourself :)


            Right, but i have to create installation for JBoss together with JDK, it is easy to do using install4j because it already contains ability to include JRE bundle but not JDK. And i need to be sure that this configuration will work fine(i mean JBoss+JRE). So in case you have any idea about that - please give me your comments. Maybe you know some useful things related to jdk installation: silent mode, any useful tools etc, thanx.

            • 3. Re: Can i run JBoss only using JRE with tools.jar or i need
              walkerrl49

              I ran a test of jboss for a third part that used the Unisys JVM, which comes with only a JRE at that time (it now comes with ... tools.jar). I added tools.jar to the classpath and was able to compile JSPs and display them, and perform most of the basic functions with jboss (starting, stopping, changing port assignments, etc.).

              I'm not sure if you will run into other requirements, since mine is not a production environment.

              Be sure you have all the java command utilities you need, as well. Jar, among others, stands out as not being in a JRE, but I'm thinking off the top of my head right now.

              Hope this helps.

              • 4. Re: Can i run JBoss only using JRE with tools.jar or i need
                svvp

                 

                "walkerrl49" wrote:
                I ran a test of jboss for a third part that used the Unisys JVM, which comes with only a JRE at that time (it now comes with ... tools.jar). I added tools.jar to the classpath and was able to compile JSPs and display them, and perform most of the basic functions with jboss (starting, stopping, changing port assignments, etc.).

                I'm not sure if you will run into other requirements, since mine is not a production environment.

                Be sure you have all the java command utilities you need, as well. Jar, among others, stands out as not being in a JRE, but I'm thinking off the top of my head right now.

                Hope this helps.



                Yes, thanks, these comments are useful anyway.