can't run java applet

Asked by jlfigueras

Guys, I cant get java applet to run on the web page of a free financial consultancy association:
http://www.abanfin.com/modules.php?tit=calculo-de-tu-hipoteca-multidivisa-con-este-simulador-de-prestamos-multidivisa&name=Simuladores&fid=cfhbaaa
I get the message:
"Use version JRE 1.6.6_10 Java HotSpot (TM) Client VM
Local user directory= /home/jose
To display this applet, please go to □no comprobar!"
When I click on the applet field, I get linked to a URL address like http://?□

I am using: Ubuntu 8.10 Intrepid, Linux i686; Kernel 2.6.27-9.19-generic y Firefox 3.0.5, Java Plug-in 1.6.0 10.
java version "1.6.0_10"

Java(TM) SE Runtime Environment (build 1.6.0_10-b33)

Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)

chosen version of java: /usr/lib/jvm/java-6-sun/jre/bin/java
 - from /usr/lib/jvm/java-6-cacao/jre/bin/java
 and /usr/lib/jvm/java-6-openjdk/jre/bin/java
 -
Thanks in advance for advice.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu firefox-3.0 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Savvas Radevic (medigeek) said :
#1

Reboot your machine and try again. Is it working?

Revision history for this message
jlfigueras (jlfigueras) said :
#2

I have done it but it isn't working. Should I uninstall all java versions and plugins or is it a web specific problem? I recall the first time I load this page after installing java version I've asked to specify a temporary folder which I might not have done. I accepted the default one which might be wrong... What do you think about the wrong URL address I get linked to? Awaiting appreciated feedback, thanks.

Revision history for this message
Gergely Máté (sportember) said :
#3

It seems that you use Java version 1.6.0_10, but the site requires version 1.6.6_10, see the "6" in the middle.

Revision history for this message
jlfigueras (jlfigueras) said :
#4

Ok. How do I install the required version and where do I find the files to download? I looked at the repositories on Synaptic and at http://java.sun.com/javase/downloads/index.jsp, found none.

Revision history for this message
jlfigueras (jlfigueras) said :
#5

On Jan 29 by routine security and system files update action:

**************
installing new version of configuration file /etc/java-6-openjdk/security/java.security...

update-binfmts: warning: current package is sun-java6, but binary format already installed by cacao-oj6

Configuring opendjk-6-jre (6b12-Oubuntu6.1)...
In use '/usr/lib/jvm/java-6-openjdk/jre/bin/pluginappletviewer' to run 'pluginappletviewer'

Configuring icetea6-plugin (6b12-Oubuntu6.1)...

******************
hope this helps....

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

I think you need to remove all other release o version of java installed...

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo apt-get purge cacao
sudo apt-get purge cacao-oj6-dbg
sudo apt-get purge cacao-oj6-jdk
sudo apt-get purge cacao-oj6-jre
sudo apt-get purge cacao-oj6-jre-headless
sudo apt-get purge cacao-oj6-jre-lib
sudo apt-get purge cacao-oj6-plugin
sudo apt-get purge cacao-source

sudo apt-get purge icetea6-plugin

Then to discover still installed java type:

sudo dpkg -l | grep -i ^ii | grep -i java

and remove them still using.

sudo apt-get purge package_name

****** Then to install Sun Java

How to install Java

To install sun-java6

Please first enable the multiverse repository:

Open System → Administration → Software sources → [ Tab Ubuntu software ]
enable "Software restrictecd by copyright or legal issue ( multiverse )"
Close and confirm the repository reload.

Then open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo aptitude update
sudo apt-get upgrade
sudo aptitude install sun-java6-bin sun-java6-jre sun-java6-plugin

give your user password when requested, you don't see nothing when you type it, then press enter.

and then select this as your default java jre with

sudo update-java-alternatives

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask jlfigueras for more information if necessary.

To post a message you must log in.