wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Not able to start Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Not able to start Tomcat" Watch "Not able to start Tomcat" New topic
Author

Not able to start Tomcat

Babu parigi
Greenhorn

Joined: Jun 03, 2012
Posts: 1

Hi All,
GM/GE, this my first post in the forum .
I am using windows 7 lappy, it came with java 7 installed by default.
I installed jdk 1.6 and given JAVA_HOME environment variable as C:\Program Files (x86)\Java\jdk1.6.0_17.
I downloaded apache-tomcat-6.0.35-src and unzipped it , when I start the server by clicking on startup.bat, a small window opens and closes in fraction of seconds.Am not able to see whats happening in that window. when I ran from command prompt I will get the below error,

F:\Babu\apache-tomcat-6.0.35-src\apache-tomcat-6.0.35-src\bin>startup.bat
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
F:\Babu\apache-tomcat-6.0.35-src\apache-tomcat-6.0.35-src\bin>

Here, I am not able to understand why am I getting this error though I defined the environment variable.
Also, am not able to see the log folder which holds the catalina log in my tomcat extraction.

I will be very much thankful for any suggestions and/or solutions ....

Thanks,

Babu


Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12683
    
    5
If startup.bat says
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

then something is wrong with your environment. Open a command prompt window and type SET to double check - recall that Java cares about case.

Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to start Tomcat
 
Similar Threads
apache tomcat is arrogant...........huh
ben..............tomcat is not installing
tomcat not starting
Not able to start Tomcat
Problem with Tomcat: says CATALINA_HOME not defined correctly.