Java not working in firefox on 12.1

I have the default setup for 12.1 which uses the OpenJDK JRE and Icedtea plugin. If I go into about:plugins I can see that firefox has detected “IcedTea-Web Plugin (using IcedTea-Web 1.1.3 (suse-1.2-x86_64))” and all looks in order.

However when I try to go to any website with java applets it doesn’t work - the applets never load or run.

Am 26.11.2011 22:36, schrieb tk83:
> However when I try to go to any website with java applets it doesn’t
> work - the applets never load or run.
>
Post one or two links so that we can have a look at.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram

Verify Java Version

Just done some more testing, Java works fine as a different user on the same machine. This user had a blank home dir, so there’s something in my firefox profile that’s breaking java.

Am 26.11.2011 22:56, schrieb tk83:
>
> ‘Verify Java Version’ (http://java.com/en/download/installed.jsp)
>
>
Works well for me on 12.1 with openJDK and tells me
Your Java version: Version 6 Update 22

Which is correct.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram

Am 26.11.2011 23:06, schrieb tk83:
>
> Just done some more testing, Java works fine as a different user on the
> same machine. This user had a blank home dir, so there’s something in my
> firefox profile that’s breaking java.
>
>
Rename the profile and start firefox again to be sure.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram

Yep the profile was corrupt. I created a new profile, copied my bookmarks into it and re-installed my extensions and now all is working. The old profile’s been consigned to the recycle bin :wink:

Am 26.11.2011 23:36, schrieb tk83:
>
> Yep the profile was corrupt. I created a new profile, copied my
> bookmarks into it and re-installed my extensions and now all is working.
> The old profile’s been consigned to the recycle bin :wink:
>
Glad you have it working :slight_smile:


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
nVidia ION | 3GB Ram

OpenSUSE 12.1 upgaded from 11.4.

How do I test whether Java is working on my computer? - “Something is wrong. Java is not working”
Java Tester - What Version of Java Are You Running? - “Browser has Java disabled”

Newly created users have same problem.

Often the browser plugin isn’t installed by default with OpenJDK. See here for a solution: http://forums.opensuse.org/english/get-technical-help-here/applications/469794-solved-no-java-browser-plugin.html

Browser plugin installed. IcedTea-Web Version: 1.1.3-1.2, java-1_6_0-openjdk Version: 1.6.0.0_b22.1.10.4-1.2 all installed from default opensuse-oss repo.

Bumping thread

Enter about:plugins in the firefox address bar, does it show the Java or OpenJDK plugin installed?
What is the output of this command run in a terminal window?:

java -version

Interesting. The tester says “Java Version: 1.6.0_22 from Sun Microsystems Inc.”. However, I am actually running IcedTea6 1.10.4

Well that website uses a Java applet so if it’s able to determine your Java version then that means OpenJDK/icedtea is installed and working. I also see “1.6.0_22 from Sun Microsystems Inc.” even though I have OpenJDK/icedtea installed.

If you still get specific applications that don’t work then you can manually install the Sun Java from Download Free Java Software. OpenJDK has actually replaced Oracle Java to become Oracle’s official or ‘reference’ Java implementation starting with Java 7 (1.7). However there are a lot of applications, esp. in the ‘enterprise’ world, that still rely on the Java 6 (1.6) from Oracle.

On 01/18/2012 01:36 PM, tk83 wrote:
> I
> also see “1.6.0_22 from Sun Microsystems Inc.” even though I have
> OpenJDK/icedtea installed.

the site’s script must be broken…or icedtea is cloaking itself as
real java…

ah, a peek at the page source shows the problem! these are the only Java
versions able to be returned:


<p class="cn">
Java Version 1.6.0_22 from Sun Microsystems Inc.  
<i>or</i><br>

Java Version: 1.3.1 from Apple Computer, Inc.    <i>or</i><br>
Java Version: 1.1.4 from Microsoft Corp.</p>

broke!


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

about:plugins

IcedTea-Web Plugin (using IcedTea-Web 1.1.3 (suse-1.2-i386))

File: npwrapper.javaplugin.so
Version:
The IcedTea-Web Plugin executes Java applets.

java -version


java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (suse-1.2-i386)
OpenJDK Server VM (build 20.0-b11, mixed mode)


Well as I said above it looks like the applet on that javatester website runs (even if the programming behind the website means it gives inaccurate version info), so your Java and browser plugin is working.

What exactly is the problem you’re having now? If it’s particular websites (eg. your internet banking) or applications that don’t work you’ll need to install the Oracle Java 6 (1.6) directly from Oracle’s website. This will become less and less necessary as websites and applications get upgraded to Java 7 (1.7) but that’ll take months or years, so for the moment Oracle’s Java is the best bet if you’re having problems.

as I said above

If you mean this:

that website uses a Java applet so if it’s able to determine your Java version then that means OpenJDK/icedtea is installed and working

Seems like you’ve answered to someone else.

your Java and browser plug-in is working

No. For me Java browser plug-in doesn’t working at all.

What exactly is the problem you’re having now?

I’m still getting “Java is not working” on java-tester page and I still can’t get ANY java applet working.

Sorry got confused with all the different people in this thread :slight_smile:

Can you start firefox from a terminal and then browse to one of these Java tester sites? What (if any) errors/warnings does it show in the terminal window?

This just came to mind since there used to be problems where you had to install some obscure 32-bit library package to get applets working on 64-bit. It’s worth a try though.