Quoting michael.arolan at excite.com (michael.arolan at excite.com): > > Guys, > How can I (or how should I) set up the CLASSPATH variable in Redhat > Linux 7.2. Can I set up on an individual user basis? If I want all the > users to have the same classpath where would I set it up? > Thanks in advance. Look at Real Time's java project on sourceforge http://www.sf.net/projects/rte You can drop stuff into /etc/profile.d/ to setup the classpath, lots of examples on SF, but here is a quick on. #!/bin/bash JAVADIR=/usr/share/java for jar in jakarta-ant optional parser jakarta-ant-optional; do if [ x`echo $CLASSPATH | grep "/$jar.jar"` = "x" ]; then if [ -e $JAVADIR/$jar.jar ]; then export CLASSPATH=$CLASSPATH:$JAVADIR/$jar.jar fi fi done -- Minneapolis St. Paul Twin Cities MN | Phone : (952)943-8700 http://www.mn-linux.org Minnesota Linux | Fax : (952)943-8500 Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9