• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

problem in running jboss

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am new to jboss when run the run.bat in jbos i am getting following error

err:Could not locate C:\Program Files\Java\jdk1.6.0_07;\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: D:\jboss-4.0.3SP1\bin\\..
.
JAVA: C:\Program Files\Java\jdk1.6.0_07;\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\Program Files\Java\jdk1.6.0_07;\lib\tools.jar;D:\jboss-4.0.3SP1\
bin\\run.jar
.
===============================================================================
.
The system cannot find the path specified.
Press any key to continue . . .


i am using jdk 1.6


my environmental variables:
---------------------------

JAVA_HOME : C:\Program Files\Java\jdk1.6.0_07;
JBOSS_HOME: D:\jboss-4.0.3SP1\bin\\..
PATH : C:\Program Files\OpenVPN\bin;C:\Program Files\Java\jdk1.6.0_07;D:\jboss-4.0.3SP1\bin\\run.jar;D:\ant1.6.5\apache-ant-1.7.1\bin;


and please let me know if i am missing any thing or done any thing wrong.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vamsee,

Welcome to JavaRanch

JAVA_HOME : C:\Program Files\Java\jdk1.6.0_07;



The JAVA_HOME is set incorrectly. There should not be a semi-colon in the value.

Also, please note that it would be better to move the JDK installation outside any folders containing a space in their path name. There are weird issues reported when you have JDK installed in a folder with a space. You might consider moving it to C:\Java\jdk1.6.0_07 and set the JAVA_HOME appropriately.
 
vamsee krishna reddy
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tanx Jaikiran Pai . its up now.
 
I am Arthur, King of the Britons. And this is a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic