This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman 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 Elasticsearch in Action this week in the Big Data 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