I posted these instructions earlier
Configure Environment Variables
Edit and add the lines below to '/etc/profile'
Make sure you logout and login for this to take effect.
It's really good to get this straight from the beginning.
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"
I had problems with this because when I logged off and on again, the variables had been created, but the path wasnt being changed.
Turns out this happens because I was logged on as root, so the PATH gets overridden after its set. Logging on as another user showed that the PATH does indeed get set properly. Helpdesk closed!
Saturday, December 11, 2004
Subscribe to:
Post Comments (Atom)
Popular Posts
- AS400 Job Scheduler
- Recover or reset QSECOFR passwords
- Make a Home made, open source mp3 Player
- A free fully functional database is yours with Microsoft's SQL Server Express
- AS400 Jobs: Do you have a job at the moment?
- Sending and receiving email on i5/os - QtmmSendMail
- 3 fires up high-speed Super 3G network, News at CNET.co.uk
- AS400 API - QCMDEXC - Execute Command
- API Example - Deleting Old Spooled Files
- UDATE and *DATE in AS400 RPG
No comments:
Post a Comment