Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java 1.4 not found in Linux Mandrake 8.2

843804May 31 2002 — edited May 31 2002
I installed the java1.4 rpm file. When I run java -version it gives me version 1.1 originally
bundled with mandrake 8.2. This is my /etc/profile file:

# /etc/profile -- Mode: shell-script --
# (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com>

# Users generally won't see annoyng core files
[ "$UID" = "0" ] && ulimit -S -c 1000000 > /dev/null 2>&1

if ! echo ${PATH} |grep -q /usr/X11R6/bin ; then
PATH="$PATH:/usr/X11R6/bin:/usr/java/j2sdk1.4.0/bin/"
fi

if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games ; then
export PATH=$PATH:/usr/games:/usr/java/j2sdk1.4.0/bin/
fi

umask 022

USER=`id -un`
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
HISTCONTROL=ignoredups
HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi

# some old programs still use it (eg: "man"), and it is also
# required for level1 compliance for LI18NUX2000
NLSPATH=/usr/share/locale/%l/%N

export PATH PS1 USER LOGNAME MAIL HOSTNAME INPUTRC NLSPATH
export HISTCONTROL HISTSIZE

for i in /etc/profile.d/*.sh ; do
if [ -x $i ]; then
. $i
fi
done

unset i

I don't know what else to do. Please help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 28 2002
Added on May 31 2002
1 comment
126 views