JavaScript-Java Bridge

A replacement for the Java Plugin, so Java Applets that use LiveConnect but have no graphics continue to work.

JavaScript-Java Bridge: Bridge for Java Applets in Browsers

JavaScript-Java Bridge is a Chrome extension that replaces the Java Plugin for current browser and Java versions. It enables Java Applets, which interact with JavaScript and the DOM, but do not display graphics to continue to function. This extension may allow graphic display in the future and is an alternative to writing the Java Program as a backend API.
Install from Chrome Web Store

Extension stats

Users: 30,000+
Rating: 1.00
(2)
Version: 1.81 (Last updated: 2020-06-18)
Creation date: 2020-06-17
Risk impact: Moderate risk impact
Risk likelihood:
Manifest version: 2
Permissions:
  • nativeMessaging
  • storage
Size: 23.88K
URLs: Website

Other platforms

Not available on Android
JavaScript-Java Bridge (v1.81)
4.32 (22) 34,578+
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.

Extension summary

A web browser is a good user interface for a native application. The Java browser Plugin provided an easy way for Java programs, configured as Applets, to manipulate webpages, and for the webpages to both get and set Java fields and call Java methods via the LiveConnect API (https://www.oracle.com/technetwork/java/javase/overview/liveconnect-docs-349790.html). This was in addition to the ability of Applets to display their graphics in a rectangle on their webpages.

However both the Java Plugin and Applets are now being deprecated as security and browser-stability risks. Continued use of them requires use of an older browser version, and soon an older Java version.

This extension and associated Java library allows Applets which display no graphics but only interact with JavaScript and the DOM to continue to be used on current browser and Java versions with minor changes on both the Java and JavaScript sides. Display of Applet graphics may be supported in the future.

The alternative to using this extension to turn a browser into a Java user interface would be to write the Java Program as a backend API, and have the browser frontend interact with this via Ajax/XMLHttpRequest calls, perhaps under a framework such as React. This does have the advantage of weak coupling, allowing the backend and frontend to be separately developed, and simultaneously accessed from multiple browsers. But, besides the obvious advantage for UIs already written as Applets, the remote procedure call and remote DOM manipulation paradigm of JSJBridge/LiveConnect, and the automatic start-stop synchronisation of the front and back ends, can continue to make this an easy, efficient, fast, and powerful solution.

Licence:

This extension and its associated Java library are licensed under Version 1 of the DevWheels Licence (https://devwheels.com). Read the licence for the precise conditions, but a simple summary would be:

  1. You can use this package without payment for evaluation, internal testing, and development work on your application or fork.

  2. However you must pay me AUD $20 for each browser on which this is installed and otherwise run.

See more

User reviews

Does this even work??
by Eva Cabral, 2020-07-12

Não funciona.
by Francisco Souza, 2020-02-20
View all user reviews

Extension safety

Risk impact

JavaScript-Java Bridge requires a few sensitive permissions. Exercise caution before installing.

Risk likelihood

JavaScript-Java Bridge has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details

Similar extensions

Here are some Chrome extensions that are similar to JavaScript-Java Bridge: