• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot run startup.bat

 
Kitty Dayal
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • 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
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic