This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: I couldnt setup Tomcat in LINUX ..
 
jQuery in Action, 3rd edition