Trevor Rhodes wrote: > Hello All, > > I'm getting this from my bank: > > This page contains information of a type (application/x-java-vm) that can > only be viewed with the appropriate plugin. > > It wants me to download the Java Run Time Environment (JRE) v1.3 Plug-in > with > Java 2 support. I click the Linux version and Install Now. It seems to > install, but everytime I go back to the page it wants me to dowload it > again. > I'm never going to get my bills paid at this rate. Any ideas why it > either isn't being installed properly or Firefox isn't seeing the > installation properly.
I tried it as well, with depressing results. What I did was to download the j2sdk from sun. It comes as a .bin file, which you make executable (chmod +x the_file.bin) when you run it, it will extract an rpm after you agreed to some license stuff. Then urpmi 'the_unpacked_rpm' which would give you something like [EMAIL PROTECTED] c]# rpm -qa | grep j2 j2sdk-1.4.2_05-fcs In order to set JAVA_HOME I use this script, in /etc/profile.d [EMAIL PROTECTED] c]# cat /etc/profile.d/java.sh #!/bin/bash # /etc/profile.d/java.sh - Sets Java Environment if [ -z "$JAVA_HOME" ]; then if [ -e /etc/javaversion ]; then javaver=`cat /etc/javaversion | head -1` fi if [ -z $javaver ]; then jdkpath=`ls -1 /usr/java/ | grep "$javaver" | head -1` if [ "X$jdkpath" == "X" ]; then jdkpath=`ls -1 /usr/java/ | head -1` fi else jdkpath=`ls -1 /usr/java/ | head -1` fi export JAVA_HOME=/usr/java/$jdkpath export PATH=${PATH}:${JAVA_HOME}/bin fi it is executable of course Now you got java properly installed. try by executing [EMAIL PROTECTED] c]$ java -version java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) Firefox needs a symlink to load the plugin [EMAIL PROTECTED] plugins]# pwd /usr/lib/mozilla-firefox-0.8/plugins [EMAIL PROTECTED] plugins]# ls -la total 2079 drwxr-xr-x 2 root root 192 Jul 24 21:16 ./ drwxr-xr-x 10 root root 1240 Jun 29 23:02 ../ -rw-r--r-- 1 root root 856 Jun 30 09:28 flashplayer.xpt -rwxr-xr-x 1 root root 2096844 Jun 30 09:28 libflashplayer.so* lrwxrwxrwx 1 root root 72 Jul 24 21:16 libjavaplugin_oji.so -> /usr/java/j2sdk1.4.2_05/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so* -rwxr-xr-x 1 root root 20944 Mar 1 08:15 libnullplugin.so* [EMAIL PROTECTED] plugins]# so you need to do something like ln -s /usr/java/j2sdk1.4.2_05/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla-firefox-0.8/plugins/ Then you are all set. Don't forget to enable java in Firefox. you migth need to logut/login to make JAVA_HOME visible to your session /etc/profile.d/java.sh is only run at login I think /Björn
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________