• 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
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Error installing tomcat

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


Hello friends, I downloaded tomcat7.0 version to my Windows Vista 32bit OS sys.
I am writing the details as to what I downloaded and what the error is. Please help me as I am stuck with this since 3 days.

I downloaded the following

apache-tomcat-[version]-windows-x86.zip
32-bit Windows specific distribution that includes the Windows service wrapper and the compiled APR/native library for use with 32-bit JVMs on both 32 and 64 bit Windows platforms.


I tried to run the startup.bat that is in the tomcat bin directory at command prompt and it says

"the JRE_HOME environment variable is not defined correctly. This environment variable is needed to run this program"

I set the Environment variable as follows

1. JRE_HOME
C:\PROGRAMFILES\JAVA\JRE6

2. JAVA_HOME

C:\PROGRAMFILES\JAVA\JDK1.6.0_30

3. CLASSPATH

C:\PROGRAMFILES\JAVA\JDK1.6.0_ 30\JRE\LIB\RT.JAR

4. PATH

C:\APP\TOMCAT6.0\APACHE- TOMCAT-7.0.25\BIN


This is what I read should be set. please see and let me know what could be the problem.
thank you
sirisha
 
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess PROGRAMFILES usually looks somewhat like this Program Files.

 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Remember, Java is case sensitive even if Windows generally isn't.

Bill
 
Siri Naray
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all, the Tomcat is working. I read the RUNNING.TXT file that comes with download and it helped me. Also at dos prompt i run catalina.bat and it showed me all teh envi vables that it set and then I run some config debugger file I think and probably it rectified the problme. Thank you for taking time.
Sirisha
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic