On Wed, 24 Oct 2001 22:44:15 -0400 Tom Wilson <[EMAIL PROTECTED]> wrote:
---snip--- > Thanks for the tips and advice guys. I will try to add /usr/java or > /opt/java to the $PATH and post the results. > Here's my copy of bashrc. The JAVA_HOME variable points to /usr/java which is a soft link to /opt/java-1.3. Hope this helps you. Why not just reinstall the jvm/jdk? # /etc/config.d/shells/bashrc # $Id: bashrc,v 1.4 2000/11/17 10:08:40 ray Exp ray $ # Full fledged, system-wide initialization of "interactive"-shells # (source-able by $HOME/.bashrc) #[ -e /etc/config.d/D ] && echo "/etc/config.d/shells/bashrc: \$-='$-'" 1>&2 # if we haven't read /etc/profile (e.g. rsh or su) read it now... [ -z "$_ETC_PROFILE" ] && . /etc/profile # fiddle with umask umask 022 [ -n "$USER" ]&&[ "$USER" = `id -gn` ]&&[ "$UID" != 0 ]&& umask 002 # set up "HOME" variables for certain packages... [ -z "$KDEDIRS" ]&&[ -d /opt/kde2 ] && export KDEDIRS=/opt/kde2 [ -z "$KDEHOME" ]&&[ -d $HOME/.kde2 ] && export KDEHOME=$HOME/.kde2 [ -z "$KDEDIR" ]&&[ -d /opt/kde ] && export KDEDIR=/opt/kde [ -z "$OPENWINHOME" ]&&[ -d /usr/openwin ] && export OPENWINHOME=/usr/openwin [ -z "$JAVA_HOME" ]&&[ -d /usr/java ] && { export JAVA_HOME=/usr/java [ -r $JAVA_HOME/lib/classes.zip ] && export CLASSPATH=$JAVA_HOME/lib/classes.zip } # try to generate an elaborate PATH ... _p="$HOME/bin" [ "$UID" = 0 ] && _p="$_p /usr/local/sbin /sbin /usr/sbin" _q=`echo " $PATH " | sed -e 's/:/ /g' -e 's/ \.[. ]* / /g'` _q="$_q /usr/local/bin /opt/bin" _q="$_q $KDEDIRS/bin $KDEDIR/bin $OPENWINHOME/bin $JAVA_HOME/bin" _q="$_q /usr/X11R6/bin /opt/teTeX/bin" _P="" for _i in $_p $_q; do case ":$_P:" in *:$_i:*) : $_i;; *) [ -d $_i ] && _P="$_P:$_i" ;; esac done while [ $_P != ${_P#:} ]; do _P=${_P#:}; done # if you have relaxed security concerns you may un-comment the following... #[ -n "$UID" ]&&[ "$UID" != 0 ]&& _P="${_P}:." export PATH=$_P unset _p _q _i _P # try solve this tedious 'Backspace vs. Delete' problem... case $- in *i*) if [ -z "$TERM" ]; then echo ".bashrc: TERM empty! This should never happen!" 1>&2 echo " Please contact '[EMAIL PROTECTED]'" 1>&2 elif [ "$(LC_ALL=C tty)" = "not a tty" ]; then echo ".bashrc: interactive on non-terminal! This should never happen!" 1>&2 echo " Please contact '[EMAIL PROTECTED]'" 1>&2 else case $TERM in dumb) : ;; linux*) stty erase '^?' ;; *) stty erase '^H' ;; esac fi ;; esac # general environment settings export MAIL="/var/mail/$USER" #export GROFF_TYPESETTER=latin1 #export LC_CTYPE=iso-8859-1 export LESSCHARSET=latin1 export PAGER=less #export METAMAIL_PAGER=$PAGER # bash-specific settings PS1="[\u@\h \W]\\$ " HISTSIZE=100 alias which='type -path' alias h='history' alias j='jobs -l' alias l='ls -Fax' alias ll='ls -Alg' alias pd='pushd' alias z='suspend' > > -- > Tom Wilson > Registered Linux user #199331 > Live on your knees in conformity or die on your feet for honesty. > > _______________________________________________ > Linux-users mailing list > Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users -- _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users