emi
emi

Reputation: 757

How to check if "Java is outdated" bar is visible on Google Chrome?

My website has a java applet that must run for complete functionallity. The problem is that some users have an outdated Java version, which makes Chrome show that annoying bar on top along with not running the applet at all.

How can I check if the outdated bar is visible, so I can show an arrow pointing to the 'Run this time' button and make sure all users with an old Java version get to run the applet? Is this even possible?

Upvotes: 1

Views: 450

Answers (1)

Andrew Thompson
Andrew Thompson

Reputation: 168825

How can I check if the outdated bar is visible..

Probably by deploying the applet using the Deployment Toolkit Script & specifying a Java version of greater than or equal to 'latest know, secure (for the moment) Java'.

Then it shouldn't appear at all.

Update

It's a 3D display of molecules with some extra info. It's essential as the website is pretty much about that only

I think that seals it. Launch the applet using Java Web Start.

Java Web Start (JWS) is the Oracle Corporation technology used to launch rich client (Swing, AWT, SWT) desktop applications directly from a network or internet link. It offers 'one click' installation for platforms that support Java.

JWS provides many appealing features including, but not limited to, splash screens, desktop integration, file associations, automatic update (including lazy downloads and programmatic control of updates), partitioning of natives & other resource downloads by platform, architecture or Java version, configuration of run-time environment (minimum J2SE version, run-time options, RAM etc.), easy management of common resources using extensions..

That 'desktop integration' includes desktop shortcuts (like for Star Zoom Animation and JotPad below).

Once the user is launching the app. from the desktop icon, we can be sure they won't be seeing any Chrome warning.

Upvotes: 1

Related Questions