[Bug 1091926] Re: firefox java applet fails when the firefox is launched by a java program

Bug Watch Updater 1091926 at bugs.launchpad.net
Sat Sep 7 18:32:52 UTC 2013


Launchpad has imported 2 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=913857.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-09-07T17:15:58+00:00 Walter Garcia-Fontes 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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1091926/comments/8

------------------------------------------------------------------------
On 2013-09-07T17:18:40+00:00 Walter Garcia-Fontes wrote:

See also:

https://bugs.launchpad.net/firefox/+bug/1091926

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1091926/comments/9


** Changed in: firefox
       Status: Unknown => New

** Changed in: firefox
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla Firefox.
https://bugs.launchpad.net/bugs/1091926

Title:
  firefox java applet fails when the firefox is launched by a java
  program

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1091926/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list