This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Starting JBoss 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Starting JBoss 4" Watch "Starting JBoss 4" New topic

Starting JBoss 4

Lahiru Abeydeera
Ranch Hand

Joined: Nov 05, 2004
Posts: 44
I downloaded JBoss 4 and clicked run.bat then I get the following error
Can anyone tell me how to correct this

JBoss Bootstrap Environment
JBOSS_HOME: C:\Documents and Settings\labeydeera\Desktop\jboss-4.0.0\bin\\..
JAVA: C:\Program Files\Java\jdk1.5.0_01\bin\java
JAVA_OPTS: -Xms128m -Xmx512m
CLASSPATH: C:\Program Files\Java\jdk1.5.0_01\lib\tools.jar;C:\Documents and Se
Exception in thread "main" java.lang.NoClassDefFoundError: and
Press any key to continue . . .
Sanju Thomas
Ranch Hand

Joined: Dec 29, 2004
Posts: 243
Please make sure that your JAVA_HOME environment variable is already set.
norman richards
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
Also, make sure you don't install JBoss in a directory that contains spaces in the path.
I agree. Here's the link:
subject: Starting JBoss 4
Similar Threads
Jboss is not running
Unable to run web application when moved from Tomcat to Jboss
Jboss is not running.Exception in thread "main"
Not able to Start JBoss(run.bat)
Starting JBoss