Comment 8 for bug 1091926

Revision history for this message
In , Walter Garcia-Fontes (walter-garcia) wrote :

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130807180628

Steps to reproduce:

R
Run a simple Java program (a runnable jar file). The Java program code is as following

import java.io.IOException;
public class Main {
     public static void main(String args[]) throws IOException {
          //this website has a small Java applet inside
          Runtime.getRuntime.exec("firefox http://javatester.org/version.html");
          System.out.println("hello world");
     }
}

My JRE (yes, JRE, not JDK) is Oracle JRE 1.6.0_38.

What the program does is essentially opening http://javatester.org/version.html in Firefox. This website has a small Java applet, so performance won't be a problem.

Actual results:

What happens then is that, Firefox is opened, http://javatester.org/version.html is opened, BUT the applet inside the website FAILS to play. The same thing happens if my Java program opens any other website which has applet.

However, if I run "firefox http://javatester.org/version.html" from command line, everything works perfectly. Similarly, if I open Firefox, then I type http://javatester.org/version.html at the URL field, everything also works perfectly.

This problem happens in Firefox, but NOT in Chromium (which I installed from your standard repository).

This problem doesn't happen in Oracle Linux distro. I haven't tried in other Linux distros, though.

Expected results:

Open http://javatester.org/version.html in Firefox