• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Not able to start JBOSS

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
My self Ankush Patni.I have just started with EJB.I have downloaded and installed JDK1.5 and jboss-4.0.5.GA.And kept the jboss folder in program file.
Jae home is Local variable.
JAVA_HOME =C:\Program Files\Java\jdk1.5.0_09.

My problem is when i am runing the jboss from "C:\Program Files\jboss-4.0.5.GA\bin" i am getting the error


C:\Program Files\jboss-4.0.5.GA\bin>run
Could not locate C:\Program Files\Java\jdk1.5.0_09;\lib\tools.jar. Unexpected results may occur.
Make sure that JAVA_HOME points to a JDK and not a JRE.


can any one please help me out what is the problem
 
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
Ankush,

Welcome to JavaRanch

Could not locate C:\Program Files\Java\jdk1.5.0_09;\lib\tools.jar



What's the output of



Is there a semicolon at the end of C:\Program Files\Java\jdk1.5.0_09? If yes, then remove the semi-colon. Also, it would be better if you install JBoss and even Java in a folder which does not have a space in its path. Instead of installing them in C:\Program Files\ you could install it in some other folder without a space in its path. There have been issues when the Java related applications have been installed in a path containing a space.
 
ankush patni
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks jai,
Now i am getting the new problem.


C:\back\software\jboss-4.2.1.GA>run
'run' is not recognized as an internal or external command,
operable program or batch file.


please tell me solution.
 
ankush patni
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi jai,
I got it that was my mistake.

Thanks a lot
 
And tomorrow is the circus! We can go to the circus! I love the circus! We can take this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic