• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat Installation Problem

 
Pranit Saha
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • 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.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • 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
  • 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..
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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?


 
mocca az
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!