javajbossjboss5.x

Not able to start Jboss Server on run.bat


I'm getting a ClassNotFoundException when I run the JBoss Server using run.bat.

enter image description here enter image description here

Updated:

enter image description here


Solution

  • The issue seems to be that your JAVA_HOME environment variable is not set to a JDK. Your screen shot shows a JRE for the JAVA_HOME. Switch that to a JDK and re-try starting JBoss.

    Also the JAVA_HOME should be in your PATH environment variable.

    Alternatively you can manually set the JAVA_HOME in the run.conf.bat file