• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem in running jboss

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
tanx Jaikiran Pai . its up now.
 
Whatever. Here's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic