Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hiii

I am new to advance java and trying to create servlets.I have downloaded TOMCAT 7.0.34 on windows 7(64bit) and jre6.

The problem is when i am working on command promt---- i have created JAVA environment variable(JAVA_HOME) and mentioned it on cmd promt like this:

C:\>set JAVA_HOME .

After this "c:\Program Files\java\jre6" comes itself in next line.
Then i have written next code on command promt is :
h:\>cd\my project\apache-tomcat-7.0.34\bin
.Then the code in next line is
H:\my project\apache-tomcat-7.0.34\bin>
For starting tomcat i am writing on cmd pmt is
H:\my project\apache-tomcat-7.0.34\bin> startup but it is not working

NOW want to start tomcat for which i am writing command startup for starting but it is not working.

Can anyone please suggest me how to start tomcat 7.0.34 on windows 7(64 bit)??
Posted

Hi,

You should have a service in the service's console related to your apache/tomcat installation.
You have to see what is the name of the service, and if you want to launch it from command line, the syntax is :

net start tomcat


(Here I assume the name of the service is 'tomcat', but it can be different ; you have to check it first).

Hope this helps.
 
Share this answer
 
ya i will try it but i have noted one more thing that "bin" sub directory of Tomcat have only .sh files which is used for unix but i am using a window so i need .bat files but bin directory dont have these files.Is this a problem or not .

Pls explain
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900