File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

I couldnt setup Tomcat in LINUX ..

Allessandro Dellapenna

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

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

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

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: I couldnt setup Tomcat in LINUX ..
It's not a secret anymore!