• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 327
  • Last Modified:

Error while starting jakarta-tomcat-4.1.30

Hi,
 
I am using jakarta tomcat 4.1
I installed it. I set ENVIRONMENT variables
CATALINA_HOME = c:\jakarta_tomcat_4.1.30
JAVA_HOME= c:\j2sdk_1.4\bin
 
When i start tomcat, it gives me this error:
The input line is too long.
The syntax of the command is incorrect.
 
Any idea about this???
 
Then I removed the environment variable & put these 2 in startup.bat
Still it gave me the same errors. If anyone has worked on it, pl. give me a solution to start it.
 
Regards
Badri
0
badri_nana
Asked:
badri_nana
2 Solutions
 
kiranhkCommented:
this happens when u exceed the limit for the number of characters for the environment variables on Windows.
Do you have a long list for you CLASSPATH/PATH. try removing some of those and restart
0
 
ramazanyichCommented:
Also another note: JAVA_HOME variable shouldn't point to bin directory of your JDK installation. It should be root directory of your JDK installation. In your case it is:
set JAVA_HOME=c:\j2sdk_1.4
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now