Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

I couldnt setup Tomcat in LINUX ..  RSS feed

 
Allessandro Dellapenna
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Allesandro ...

I has the same problem, only put the *.sh scripts executable; for my that works.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!