dayanandasekar
10-29-2005, 05:12 AM
Hi,
I trying to learng EJB and I use JBoss Application Server as my EJB container.
I installed it online using JNLP from www.jboss.org the version is 4.0.3.
But the problem is that I can't start the server whenever I click "run.bat".
The resulting console window shows the following error.
------------------------------------------------------------------------------------------------------
Could not locate C:\Program Files\Java\jdk1.5.0_05;\lib\tools.jar. Unexpected re
sults may occur.
Make sure that JAVA_HOME points to a JDK and not a JRE.
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Program Files\jboss-4.0.3\bin\\..
.
JAVA: C:\Program Files\Java\jdk1.5.0_05;\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\Program Files\Java\jdk1.5.0_05;\lib\tools.jar;C:\Program Files\j
boss-4.0.3\bin\\run.jar
.
===============================================================================
.
The system cannot find the path specified.
Press any key to continue . . .
------------------------------------------------------------------------------------------------------
I have set the environment variables like JAVA_HOME properly but I am still having this problem.
Please help.
Bye
I trying to learng EJB and I use JBoss Application Server as my EJB container.
I installed it online using JNLP from www.jboss.org the version is 4.0.3.
But the problem is that I can't start the server whenever I click "run.bat".
The resulting console window shows the following error.
------------------------------------------------------------------------------------------------------
Could not locate C:\Program Files\Java\jdk1.5.0_05;\lib\tools.jar. Unexpected re
sults may occur.
Make sure that JAVA_HOME points to a JDK and not a JRE.
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Program Files\jboss-4.0.3\bin\\..
.
JAVA: C:\Program Files\Java\jdk1.5.0_05;\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\Program Files\Java\jdk1.5.0_05;\lib\tools.jar;C:\Program Files\j
boss-4.0.3\bin\\run.jar
.
===============================================================================
.
The system cannot find the path specified.
Press any key to continue . . .
------------------------------------------------------------------------------------------------------
I have set the environment variables like JAVA_HOME properly but I am still having this problem.
Please help.
Bye