aspose file tools
The moose likes Tomcat and the fly likes Starting up Server to run Servlet application. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Starting up Server to run Servlet application." Watch "Starting up Server to run Servlet application." New topic
Author

Starting up Server to run Servlet application.

Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
Hi I'm new to servlet. And i want to set up environment for that. I have installed apache-tomcat 6.0.16. But when i tried to start up it, from bin of apache-tomcat but command : startup.bat shows me below message.


Neither JAVA_HOME not JRE_HOME environment variable is defined.At least one of these is needed to run this program.

Can any one please help me on defining this variable.

Thanks in advance.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35443
    
    9
JAVA_HOME needs to point to the directory where your JRE (or JDK) is installed. That directory contains the "bin" and "lib" directories (amongst others).


Android appsImageJ pluginsJava web charts
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Check this: http://java.sun.com/j2se/1.5.0/install-windows.html


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Starting up Server to run Servlet application.
 
Similar Threads
how to install apache tomcat 5.5
urgent help in running examples from hf jsp servlets
Syntax error in windows 98
Trouble running tomcat on Ubuntu Linux.
what do i need to run a servlet!!!