LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java problem (I think) (https://www.linuxquestions.org/questions/linux-software-2/java-problem-i-think-591693/)

Justbill 10-14-2007 09:04 AM

Java problem (I think)
 
Hi all,
I recently installed, Debian "Etch" 4.0r1 on one of my machines.
I previously had Ubuntu "Dapper", and PCLinuxsOS on this box.
The problem I am having is with an the online game "Runescape".
I can get to the main page, but when the game tries to load ( a java applet), I get an "error loading applet" message, and then nothing.
When I had "Dapper" on this machine, the game worked fine, and also with PCLinuxOS. I have another machine running "Dapper" that the whole family plays the game on with no problem I have "Automatix", installed on the machine running "Dapper", and on the new installation of "Etch" (don't know if that makes a difference or not, just wanted to post all information), and used it to install "java". I also tried installing a java plugin manually. I installed "jdk-6u3-i586-linux.bin", I tried the suggested install, with the symbolic link, and when that didn't work, I had the hairbrained idea to install it directly in the plugins file (/usr/lib/mozilla/plugins, and also /usr/lib/iceweasel/plugins , is this the correct place?), still no luck. Evidently, the Debian project had some sort of problem with and or using the "Firefox" name. So now its "Iceweasel", could the problem be that the game server doesn't recognize something with the name change to "Iceweasel" ( kind of like having one wrong letter in a command line pathname or something)?

Can I install the latest version of "Firefox" (dumb question, I am sure I can), where would I install it <pathname>, for a system wide install, and how do I get it to show up in the Applications > Internet dropdown menu? Or is that not really the issue here (the "Firefox/Iceweasel" name change thing).

I really would like to stick with "Etch", I like the way it looks and feels. Any help wpuld be greatly appreciated!

Thanks in advance
Justbill

Alien_Hominid 10-14-2007 09:32 AM

Each browser check several default plugin directories like /usr/lib/mozilla/plugins, /usr/lib/firefox/plugins, /usr/lib/opera/plugins (<= imo, this is checked only by opera). Check if you have libjavaplugin_oji.so symlink.

Mine points to:
Code:

ls /usr/lib/mozilla/plugins -l
libjavaplugin_oji.so -> /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so


driftboy 10-15-2007 03:57 AM

Java plugin for Iceweasel:

I had the same problem with my Debian distro, I think the new version just don't work on linux IDK. So I use the older version 5.

I followed these instructions for java
http://stanton-finley.net/fedora_cor...ion_notes.html

ln -s /opt/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/icewaesel/plugins/libjavaplugin_oji.so

Justbill 10-15-2007 05:21 AM

Thanks for all the help!
I did finally get it working!
My guess is, with all the tinkering I did to get it working, I had something conflicting.
I re-installed "etch", and before I did anything else, I installed "Automatix2". I changed my
/etc/apt/sources.list as per the instructions for installation, and then did a fix in
/usr/lib/automatix2/distro_helpers.py , here is the fix

"do the following as root:
CODE
gedit /usr/lib/automatix2/distro_helpers.py

and change the following line
QUOTE
versions = (('6.06','6.06'),('6.10','6.10'),('7.04','7.04'),('4.0r0','4.0r0'))
to
QUOTE
versions = (('6.06','6.06'),('6.10','6.10'),('7.04','7.04'),('4.0r1','4.0r0'))

save and close the file and restart Automatix."

(copied from the user forum at automatix web site)

I then had "Automatix" install Java (and some other stuff) and it worked!

thanks for all the help
Justbill


All times are GMT -5. The time now is 03:21 AM.