Instalar e configurar j2re-1_4_1_02-fcs-linux-i586.rpm

Pessoal me ajude por favor…

Sou novato em Linux, já instalei o j2re-1_4_1_02-fcs-linux-i586.rpm no meu computados e não estou conseguindo abrir um arquivo jar.

Já fui no tutorial deste site que ajudou-me um pouco mas estou tendo dificuldade em conigurar o arquivo profile.

No tutorial me pediu que eu colocasse as seguintes diretivas:

JAVA_HOME=/usr/local/j2sdk<versao>
CLASSPATH=.:$CLASSPATH

PATH=$JAVA_HOME/bin:$PATH

e fiz o seguinte no arquivo profile:

/etc/profile

System wide environment and startup programs

Functions and aliases go in /etc/bashrc

JAVA_HOME=/usr/java/j2re1.4.1_02
CLASSPATH=.:$CLASSPATH

PATH="$PATH:/usr/bin/X11:/usr/games:/usr/local/bin"
PATH="$JAVA_HOME/bin:$PATH"
MANPATH="$MANPATH:/usr/local/man"

This is the original ksh default PS1 value

Bash will get its own from /etc/bashrc

PS1=’$(/bin/hostname -s) [$PWD] > ’

ulimit -c 1000000
if [ id -gn = id -un -a id -u -gt 14 ]; then
umask 002
else
umask 022
fi

USER=id -un
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"

HOSTNAME=/bin/hostname
HISTSIZE=1000
HISTFILESIZE=1000

INPUTRC=/etc/inputrc

export PATH MANPATH PS1 HOSTNAME HISTSIZE HISTFILESIZE USER LOGNAME MAIL INPUTRC JAVA_HOME CLASSPATH

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

unset i

POR FAVOR ME AJUDEM…
Obrigado.

como assim não abriu um arquivo .jar ? vc digitou no terminal bash java -version para ver se o PATH esta apontado para o local correto ?

falow