• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

cannot run startup.bat

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am not able to get startup.bat batch file to run on my windowsXP Pro m/c. Its throws an error

"Window cannot find '-Djava.endorsed.dirs='.Make sure you typed the name correctly and then try again. To search a file, click the start button, and then click search"

I dont want to reinstall tomcat bec I have some data on it. And starting everything from beginning is a headache. Due to this I am unable to run my servlets. It keeps on throwing 404 error.

Thanks for your help,
- Kits
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm assuming you are talking about tomcat's startup.bat. Since you're using tomcat 4, you must be studying for the old version of the exam.

Did you follow the installation instructions?

Specifically, is JAVA_HOME set and correctly pointing to your jdk install?

...at command line you can type the following to verify

%JAVA_HOME%\bin\java -version
 
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic