Configure Environment Variables
Edited and add the lines below to '/etc/profile'
Make sure you logout and login for this to take effect.
JAVA_HOME=/usr/local/java/java
CATALINA_HOME=/usr/local/tomcat
PATH=$JAVA_HOME/bin:$PATH:$HOME/bin:/sbin:/usr/sbin
CLASSPATH=$CATALINA_HOME/bin/bootstrap.jar:$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/common/lib/servlet.jar:/usr/local/pgsql/share/java/postgresql.jar:../lib/struts.jar:.
Now add the PATH JAVA_HOME CATALINA_HOME & CLASSPATH if any aren't in the export line
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC JAVA_HOME CATALINA_HOME CLASSPATH
Type env to check your environment variables
Tuesday, November 30, 2004
Subscribe to:
Post Comments (Atom)
Popular Posts
- as400 iSeries NetServer Disabled user profiles
- Library list for Web server
- Create a Custom Live Linux CD - Leveraging BusyBox and OpenSSH
- Super $500 Myth Project
- Encode HTML Entities - Showing code in blogs
- Search for text in vi or vim
- IBM eServer iSeries - iSeries NetServer: Command Line Setup
- Thomas Dudziak's Weblog
- HOW TO make a Powerbook in to a Wi-Fi access point!
- Reno County is preparing to move from an AS400 computer system to a personal-computer-based system
No comments:
Post a Comment