Reputation: 8400
I'm getting a ClassNotFoundException when I run the JBoss Server using run.bat.
Updated:
Upvotes: 2
Views: 3916
Reputation: 1
your java path is not set to jdk and you have to configure java path in as java_home in standalone.conf.bat and start with run.bat
Upvotes: 0
Reputation: 20800
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
Upvotes: 1