Opera 5.05 und Java

Software besorgen und anwenden
Post Reply
Message
Author
Steff

Opera 5.05 und Java

#1 Post by Steff »

Hallo Cracks, ich brauche Eure Hilfe:
Ich habe mir Opera 5.05 installiert:
rpm -Uvh opera-5.05_tp1-4-*-libnpp-0.1.1.x86.rpm

anschließend das Java-plugin in gleicher Weise installiert.
Jetzt habe ich versucht, dass opera das plugin auch findet, indem ich das script /usr/bin/opera wie folgt geändert habe:

==========schnipp==============
#!/bin/sh

# Location of the Opera binary
OPERA=/usr/lib/opera/5.05_tp1/opera-static

if test ! -e $OPERA; then
echo "The Opera binary is not located at \"$OPERA\"."
echo "Please modify the wrapper script at \"$0\"."
exit 1
elif test ! -x $OPERA; then
echo "You do not have execute rights on \"$OPERA\", please ask the sysadmin to chmod +x it."
exit 1
fi

# Opera enviroment
if test "$OPERA_DIR" = '' ; then
if test -d /usr/share/opera ; then
OPERA_DIR=/usr/share/opera
else
echo "OPERA_DIR unset and not in default location (/usr/share/opera)"
exit 1
fi
fi

# Opera Plug-in enviroment, Add more plugin search paths here
# If OPERA_PLUGIN_PATH is set NPX_PLUGIN_PATH will be ignored

for DIR in \
/usr/lib/opera/plugins \
/usr/local/Acrobat4/Browsers/intellinux \
/usr/java/jre1.3.1/plugin/i386/ns4 \
/usr/java/jre1.3.1_01/plugin/i386/ns4 \
/usr/lib/RealPlayer8/Plugins \
/usr/lib/realplay/plugins \
/usr/lib/RealPlayer8 \
/usr/lib/realplay \
"$HOME/.netscape/plugins" \
/opt/netscape/plugins \
/usr/lib/netscape/plugins \
/usr/local/netscape/plugins \
/usr/local/lib/netscape/plugins \
; do
if test -d $DIR ; then
OPERA_PLUGIN_PATH="$OPERA_PLUGIN_PATH":"$DIR"
fi
done

# Acrobat Reader
if test -d /usr/local/Acrobat4/bin ; then
PATH=$PATH:/usr/local/Acrobat4/bin
fi

OPERA_PLUGIN_PATH="$OPERA_PLUGIN_PATH":"$NPX_PLUGIN_PATH"

# Exporting the enviroment
export OPERA_DIR OPERA_PLUGIN_PATH

# Running Opera
$OPERA "$@"

==============schnapp====================

Bei mir wurde das plugin in /usr/java/jre1.3.1_01/plugin/i386/ns4 installiert.

opera findet das plugin aber immer noch nicht!!! <img src="http://www.pl-forum.de/UltraBoard/Images/Sad.gif" border="0" align="middle">(

Kann mir jemand sagen, wo der Fehler liegt?

Vielen Dank

Steff

Ach ja: SuSE 7.3 Prof

Post Reply