From Fedora Project Wiki

< Features

Revision as of 19:50, 29 October 2008 by Dbhole (talk | contribs)

Java Liveconnect


Liveconnect is a feature that allows JavaScript from web browsers to connect to a Java(TM) Virtual Machine and vice-versa.


Current status

  • Targeted release: Fedora 10
  • Last updated: October 29, 2008
  • Percentage of completion: 100%
  • Liveconnect support in Fedora 10 is complete. The new Java(TM) plugin (IcedTeaPlugin) provides this feature.

Detailed Description

Liveconnect allows allows JavaScript to access Java, and vice-versa. This allows javascript to access local files and sockets for example, and essentially do anything that Java can (assuming security requirements are met). Conversely, it also allows applets to call JavaScript in the browser, paving way for page redirects, dynamic content update, etc.

Benefit to Fedora

Currently, there is no Open Source solution that provides Liveconnect support. Anyone wanting to use sites that use Liveconnect, had to use the Sun Java(TM) plugin, and consequently, Sun's JVM. The new Java(TM) plugin in Fedora provides a fully open source solution, allowing users to use those sites with OpenJDK, which is included in Fedora.


Liveconnect support work is complete. It is part of the latest java-1.6.0-openjdk-plugin rpm, built in dist-f10.

Test Plan

No special hardware is needed for testing the new plugin. It should be tested on standard Fedora supported architectures.

Since there are no known automated tests for a Java(TM) Plugin, testing consists of trying out as many different applet based pages as possible. We have tried a wide variety of sites to that end (Gaming, Banking, Information services, etc.) to ensure that the plugin works.

User Experience

John wants to solve a jigsaw puzzle at He is running a Fedora 9 system, with java-1.6.0-openjdk-plugin (GCJ Web Plugin) installed.

To play, he has to:

  1. Download the Sun Java(TM) Runtime Environment
  2. Extract the contents
  3. Point Firefox to use the new plugin, and make sure that the existing OpenJDK plugin is not loaded
  4. Browse to, and load/solve the puzzle

With Fedora 10, John simply needs to ensure that java-1.6.0-openjdk-plugin is installed, and then he can open up a browser, navitage to the site and start solving the puzzle!



Contingency Plan

GCJ Web Plugin would be used as a fallback.


Since this is a web plugin and not a standalone application, there is no associated documentation.

Release Notes

The section on the plugin located here in the release notes for Fedora 10 applies.

Comments and Discussion