wood burning stoves*
The moose likes Tomcat and the fly likes I couldnt setup Tomcat in LINUX .. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "I couldnt setup Tomcat in LINUX .. " Watch "I couldnt setup Tomcat in LINUX .. " New topic
Author

I couldnt setup Tomcat in LINUX ..

Allessandro Dellapenna
Greenhorn

Joined: Dec 24, 2005
Posts: 1
It says

The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program

how can i set up environment variables ..
and i installed j2se from rpm but where is it now i couldnt find. in which directory ?
fabio quimbay
Greenhorn

Joined: Dec 27, 2004
Posts: 1
Hi Allesandro ...

I has the same problem, only put the *.sh scripts executable; for my that works.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The BASEDIR variable gets set up for you.
You only need to setup JAVA_HOME and CATALINA_HOME.

The sytax for exporting an environment variable looks like this:


So, if your java install is in /usr/local/jdk1.5.0, you would set up your JAVA_HOME variable with the following...


You can do this right from the shell window before running startup.sh


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: I couldnt setup Tomcat in LINUX ..
 
Similar Threads
contructor?
How to close a file
HFS Question: Page #: 330, Question #: 6
Reading an Image
Cant find my skeleton class file-Rmi Doubt(HFJ)