• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat Installation Problem

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've downloaded Tomcat4.0. JDK1.2.1 is installed in my machine along with proper classpath. But whenever i'm going to install Tomcat in my machine. In the very first step it's saying Java Development Kit not available. How can i solve this problem. Please help me.
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

can you write a small java program, compile it and run it on you machine, just so you can verify that the JDK is infact properly installed and is available....
- satya
 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Satya,
I can compile java programs on that machine. Java Web Server is running properly in that machine. I can make servlets over there too. So the JDK is ok there. Then what's the solution for this.
Thanks for ur reply..
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have an environment variable named JAVA_HOME which points to your JDK?

I know Tomcat needs it for running, but perhaps it needs it for installation as well?
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I know Tomcat needs it for running, but perhaps it needs it for installation as well?

Good point Mike, this would be my next suggestion too....
- satya
 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mike how can i get that environment variable. and how can i point to JDK. pls tell me . bcoz this is the first time i'm installing Tomcat.Thanks for ur reply.
[B]Do you have an environment variable named JAVA_HOME which points to your JDK?


 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What OS are you running.
in windows 95/98 you'll have to edit autoexec.bat and do this
JAVA_HOME = C:\jdk1.3
Win2000 right click mycomputer, properties, advanced tab, enviromental variables
variable name = JAVA_HOME
variable value = C:\jdk1.3
reply
    Bookmark Topic Watch Topic
  • New Topic