3 Replies Latest reply on Sep 12, 2011 6:45 AM by dlofthouse

    Error occurred during initialization of VM

    praveenreddy_yanamala

      hi all,

       

      I am new to jboss. I downloaded jboss-as-7.0.1.Final and done all the stuff. When i am trying to run i am getting  Error occurred during initialization of VM.

       

      please help me how to over come this error

       

       

      thanks & regards ,

       

      Praveen kumar reddy

        • 1. Re: Error occurred during initialization of VM
          dlofthouse

          I have been verifying an installation in almost the same set up as shown from your error screen but I am unable to reproduce the error you have shown - at first I was considering if the spaces in the path to the JVM could be the cause but this does not seem to be the case.

           

          Could you please clarify what you mean by "done all the stuf"?  My testing has been on a clean AS 7.0.1 installation with no changes other than ensuring the JAVA_HOME environment variable is set.

           

          The error suggests to me a problem with the JDK installation - do you have any other Java applications able to run against it?

          • 2. Re: Error occurred during initialization of VM
            jaikiran

            It might also have to do with the fact that you have JDK installed in a folder containing a space in its path name (C:/Program Files/....). Try moving it to a different folder without a space in its path name (ex: C:/Java/...) and set JAVA_HOME appropriately.

            • 3. Re: Error occurred during initialization of VM
              dlofthouse

              It might also have to do with the fact that you have JDK installed in a folder containing a space in its path name

               

              I tested a default installation with a space in the name and was unable to reproduce.