Installing and enabling Java

From Proteopedia

(Difference between revisions)
Jump to: navigation, search
(Edge in Windows 10)
Current revision (15:50, 11 June 2021) (edit) (undo)
(Browsers That Support Java)
 
(101 intermediate revisions not shown.)
Line 1: Line 1:
-
This page explains how to install [[Java]], and how to enable it in various web browsers. Using Java with Proteopedia or with [[FirstGlance in Jmol]] will improve performance significantly. Once you have Java working, you can make it the default in Proteopedia (see [[Using Java for Rendering Structures]]) or in [[FirstGlance in Jmol]] (with its ''Preferences'').
+
<span style="font-size:130%;"><b>Quick Start</b></span>
 +
* Windows: Use Internet Explorer. Detailed instructions are [[#Internet Explorer in Windows|below]].
 +
* macOS: Use the [https://www.waterfox.net/ Waterfox Classic] browser (not Waterfox Current). In July, 2020, this is the only macOS (11.12 Sierra or later) browser that runs both Proteopedia and [[FirstGlance in Jmol]] with Java. Permission dialogs for using Java are straightforward.
-
We believe this page is up to date with Chrome Version 45 released [http://googlechromereleases.blogspot.com/ September 1, 2015], and Java 1.8.0_60, [https://www.java.com/en/download/faq/release_dates.xml released in August, 2015]. If you suspect any issues, please email [[Image:Contact-email.png]].
+
To instruct Proteopedia to use Java, add <b>?use=java</b> to the end of the URL in the browser's address line. [[Using_Java_for_Rendering_Structures|Details]].
 +
 
 +
To instruct FirstGlance to use Java, add <b>&java</b> to the end of the URL in the browser's address line.
 +
 
 +
----
 +
Below is explained how to install [[Java]], and how to enable it in various web browsers. Using Java with Proteopedia or with [[FirstGlance in Jmol]] will improve performance significantly. Once you have Java working, you can make it the default in Proteopedia (see [[Using Java for Rendering Structures]]).
 +
 
 +
<div style="background:#ffe0e0; width:90%; margin-left:5%; padding:10px">
 +
Oracle, the makers of Java, plans to [https://blogs.oracle.com/java-platform-group/entry/moving_to_a_plugin_free deprecate the Java ''browser plugin'' in Java 1.9, and to discontinue the plugin at a future date]. Thus we cannot count on the Java plugin indefinitely, but the date when it will stop working is uncertain. Stand-alone Java ''applications'' are expected to continue to be supported.
 +
 
 +
Even before that happens, common browsers are removing the support for running Java applets (like Jmol) within web pages.
 +
</div>
 +
 
 +
We believe this page is up to date for '''July, 2020''' (Java 1.8.0_251, [https://www.java.com/en/download/faq/release_dates.xml Java Release Dates]). If you suspect any issues, please email [[Image:Contact-email.png]].
 +
 
 +
==Java Applets do not work in Chrome, Firefox, Edge, or Opera==
 +
 
 +
[https://www.java.com/en/download/help/browser_activate_plugin.xml Official browser compatibility documentation for Java].
-
==Java Applets Do Not Work In Chrome, Edge, or Opera==
 
===Chrome===
===Chrome===
-
Effective September 1, 2015, [https://support.google.com/chrome/answer/6213033# the Google Chrome browser no longer works with Java applets] (including the Java-dependent version of Jmol). This change was announced well in advance.
+
[https://java.com/en/download/faq/chrome.xml The Google Chrome browser does not support Java] (including the Java-dependent version of Jmol). This change happened in late 2015 and had been announced well in advance.
-
The HTML5 implementation of Jmol, JSmol, still works just fine in Chrome. In fact, Chrome give the best performance with JSmol among popular browsers.
+
The HTML5 implementation of Jmol, JSmol, works just fine in Chrome.
 +
 
 +
===Firefox===
 +
[https://www.java.com/en/download/help/firefox_java.xml The Mozilla Firefox browser does not support Java] (including the Java-dependent version of Jmol) since version 52 of the 32-bit browser; the 64-bit Firefox has never supported Java. [https://support.mozilla.org/en-US/kb/npapi-plugins That change happened in March 2017] and had been announced well in advance. Until sometime in 2018, there was a special version of Firefox called ''Extended Support Release'' (ESR) that supported Java; however, [https://www.digitalcitizen.life/how-enable-java-all-major-web-browsers later ESR versions no longer support] Java.
 +
 
 +
The HTML5 implementation of Jmol, JSmol, works just fine in Firefox.
===Edge in Windows 10===
===Edge in Windows 10===
-
The Microsoft Edge browser (new in Windows 10) [https://www.java.com/en/download/faq/win10_faq.xml does not support Java]. However, Internet Explorer 11 is available in Windows 10 for use with Java, and Firefox can be installed free. See details below.
+
The Microsoft Edge browser (new in Windows 10) [https://www.java.com/en/download/faq/win10_faq.xml does not support Java]. However, Internet Explorer 11 is available in Windows 10 for use with Java. See details below.
 +
 
 +
The HTML5 implementation of Jmol, JSmol, works in Edge, although [[User:Eric_Martz/JSmol_Notes#Poor_performance_in_Internet_Explorer.2C_Edge.2C_Chrome_and_Opera|rotation is jerkier and operation is slower than in Firefox or Chrome]].
===Opera===
===Opera===
-
Although the Opera website still [Help:Making animations for Powerpoint|talks about installing Java], Opera 37 no longer operates the Java plugin, and does not list it on its plugins page even when Java is installed in Windows 10.
+
The Opera browser does not support Java.
 +
 
 +
The HTML5 implementation of Jmol, JSmol, works in Opera.
 +
 
 +
==Browsers That Support Java==
 +
[https://www.java.com/en/download/help/browser_activate_plugin.xml Official browser compatibility documentation for Java].
 +
 
 +
 
 +
'''Internet Explorer''' supports Java as of November, 2017. See below for details for each of these browsers.
 +
 
 +
'''Safari''' versions through 11 support Java (through OS 10.11 El Capitan), but [https://www.java.com/en/download/faq/safari.xml Safari 12 and later do not support Java] (OS 10.12 Sierra and later). ([https://en.wikipedia.org/wiki/Safari_version_history Safari Version History]).
 +
 
 +
 
 +
'''[http://palemoon.org Pale Moon]''' (''Windows only'') is an independent browser, [https://en.wikipedia.org/wiki/Pale_Moon_(web_browser) very similar to Firefox], whose developer [http://forum.palemoon.org/viewtopic.php?t=9805 has announced] <u>indefinite support for NPAPI plugins (including Java)</u>, and hence is an alternative to continue running Jmol applets inside web pages, at least while Oracle continues to provide the Java Plug-in.
 +
 
 +
'''[https://www.waterfoxproject.org/ Waterfox Classic]''' (available for Windows and OS X) is very similar to Firefox and supports Java (as of July, 2020, our most recent test). Waterfox is the best solution for macOS.
 +
 
 +
*Waterfox Classic is ''available only for 64-bit operating systems''. It is harmless to download it and try it -- if you have a 32 bit operating system, it won't run. All recent macOS operating systems are 64 bit. Many Windows installations are 32 bit.
 +
<!--
 +
*Waterfox Classic support for NPAPI plugins will presumably end eventually, when the NPAPI code is removed also from the Firefox Extended Support Release (Firefox ESR). The Waterfox maintainers plan to develop a completely new browser with NPAPI plugin support. But even if they can realize it, it will presumably take quite some time until it will be usable. -->
 +
 
 +
'''[http://www.seamonkey-project.org/releases/ SeaMonkey]''' (available for Windows and OS X) is a [https://en.wikipedia.org/wiki/SeaMonkey Mozilla-based browser] that supports Java, at least up to version 2.49.4 current in January, 2019 through July, 2020.
 +
*'''SeaMonkey support for Java has been removed in version 2.53.1'''.<ref>SeaMonkey: NPAPI plugin support. https://www.seamonkey-project.org/doc/npapi (visited 11 June 2021)</ref>
 +
*<font color="red">Seamonkey version 2.49.4 does not run FirstGlance in Jmol. Since all other browsers do, this is probably due to a bug in the javascript of Seamonkey.</font>
-
===Alternatives===
+
<!-- Windows 5.1.3.2000 does not work with FG Jmol.
-
'''Firefox''' appears to be [http://www.ghacks.net/2015/01/24/mozilla-adds-npapi-plug-in-sandbox-to-firefox/ continuing to support the NPAPI interface] required for Java. '''Internet Explorer''' and '''Safari''' support Java. '''Opera''' supports Java in Windows but plans to remove plugin support in the near future. See below for details for each of these browsers.
+
'''Maxthon''' is a browser developed in China. The Windows version 5.0.4.3000 (current through at least November, 2017) supports Java, but concerns have been expressed about data that this browser sends back to China (see [http://www.securityweek.com/maxthon-browser-sends-sensitive-data-china Security Week, July 2016] and [http://www.techrepublic.com/article/maxthon-browser-is-a-wolf-in-sheeps-clothing/ Tech Republic, July 2016] among others). The OS X version 5.0.20 does not support Java.-->
==Security with Java==
==Security with Java==
Line 25: Line 73:
For Proteopedia and FirstGlance in Jmol, Java operates within a web browser (as a "Java applet"). Make sure your web browser is up to date with the latest version.
For Proteopedia and FirstGlance in Jmol, Java operates within a web browser (as a "Java applet"). Make sure your web browser is up to date with the latest version.
* Internet Explorer (Windows): Start, Control Panel, Windows Update (may be under System and Security).
* Internet Explorer (Windows): Start, Control Panel, Windows Update (may be under System and Security).
-
<!--* Chrome (Windows or OS X): Click on the 3-bar icon at the upper right corner of the browser window, then on ''About Google Chrome''. ''About Chrome'' checks for updates automatically.-->
+
* Safari (OS X): Java is [https://www.java.com/en/download/faq/safari.xml not supported in macOS versions later than El Capitan (10.11)]. If you have El Capitan or earlier: System Preferences, App Store. Click on the ''Check Now'' button. Install any available update for Safari or OS X.
-
* Firefox (Windows): Click on the ''Firefox'' menu at the upper left (or the ''Help'' menu), then ''Help'', then ''About Firefox'', which checks for updates automatically.
+
-
* Firefox (OS X): Click on ''Firefox'' in the menubar (top left of screen), then ''About Firefox'', which checks for updates automatically.
+
-
* Safari (OS X): System Preferences, App Store. Click on the ''Check Now'' button. Install any available update for Safari or OS X.
+
-
* Opera (Windows): It automatically tells you when an update is available.
+
-
* Opera (OS X): Open the ''Opera'' pull-down menu from the menubar (top left of your screen), and click on ''Check for Updates''.
+
==Install or Update Java==
==Install or Update Java==
Line 39: Line 82:
</blockquote>
</blockquote>
-
Use a '''Java-capable browser''': Internet Explorer, Firefox, or Safari. (Do not use Chrome, Edge, or Opera.)
+
Use a '''Java-capable browser''': Internet Explorer, Safari, or Pale Moon. (Do not use Chrome, Firefox, Edge, or Opera.)
At [http://www.java.com java.com], click on "Do I have Java?". Then click the button "Verify Java Version".
At [http://www.java.com java.com], click on "Do I have Java?". Then click the button "Verify Java Version".
Line 48: Line 91:
[[Image:Safari-trust-java-per-website.png|right]]
[[Image:Safari-trust-java-per-website.png|right]]
-
If you are using the '''Firefox''' browser, you may see ''Activate Java Applet''. Click on that message to activate. Next you may see a drop-down dialog at the upper left of the browser window that says ''Allow java.com to run "Java Applet"''. Click on one of the ''Allow'' buttons.
+
If you are using the '''Pale Moon''' browser, you may see ''Activate Java Applet''. Click on that message to activate. Next you may see a drop-down dialog at the upper left of the browser window that says ''Allow java.com to run "Java Applet"''. Click on one of the ''Allow'' buttons.
</blockquote>
</blockquote>
After a brief pause (while the Java Virtual Machine starts), a report will tell you that you are up to date, or that you need to update Java.
After a brief pause (while the Java Virtual Machine starts), a report will tell you that you are up to date, or that you need to update Java.
If you see "Missing Plug-in" it means that you have no Java installed previously. In that case click ''Download'' to download and install Java.
If you see "Missing Plug-in" it means that you have no Java installed previously. In that case click ''Download'' to download and install Java.
-
:When installing Java, '''<font color='red'>pay attention</font> to the pre-checked options''' to make Ask.com your default search provider and browser home page. You may wish to '''uncheck''' these.
+
:When installing Java, '''<font color='red'>pay attention</font> to the pre-checked "recommended" options''' to change some browser preferences. You may wish to '''uncheck''' these. <!--
-
[[Image:Java-prechecked-ask.png|400px|center]]
+
[[Image:Java-prechecked-ask.png|400px|center]]-->
==Enable Java for Web Browsers==
==Enable Java for Web Browsers==
Line 73: Line 116:
----
----
===Windows===
===Windows===
-
<!--<center><table style="background:#f0f0f0;" border="1" cellpadding=7 width="90%"><tr><td>
 
-
The problem with Java 7 update 65 described here earlier, appears to be fixed in Java 7 update 67, out August 4, 2014.
 
-
</td></tr></table></center>-->
 
-
<!--===============================
 
-
<center><table style="background:#ffffa0;" border="1" cellpadding=7 width="90%"><tr><td>
 
-
'''Mid-July 2014: The Java 7 update 65 Installer has a bug.''' After installing this update, we have seen several Windows 7 systems where the Jmol java applet stopped working. The Jmol area remains blank, Java fails to start, and there are no error messages. Oracle's update program is failing to remove some traces of earlier versions. '''Here are two fixes.'''
 
- 
- 
-
'''Fix I: Make Update 65 Work.'''
 
-
:1. Uninstall Java: Start, Control Panel, Programs, Uninstall a program (or Programs and Features if the Control Panel "View by" is set to icons). Uninstall Java 7 (whatever update number is currently installed).
 
-
:2. Delete the following folders (directories) and all of their contents, where ''your-name'' is your login name in Windows.
 
-
::C:\Users\''your-name''\AppData\Roaming\Oracle
 
-
::C:\ProgramData\Oracle
 
-
::C:\Users\''your-name''\AppData\LocalLow\Sun
 
-
::C:\ProgramData\Sun
 
- 
-
:3. In a web browser, go to '''java.com''', download Java, and install it. Jmol function should now be restored.
 
- 
-
'''Fix II: Revert to Update 60.'''
 
-
:1. Uninstall Java: Start, Control Panel, Programs, Uninstall a program (or Programs and Features if the Control Panel "View by" is set to icons). Uninstall Java 7 (whatever update number is currently installed).
 
-
:2. Go to [http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jre-7u60-oth-JPR Oracle's Page for Downloading Java 7 Update 60], and download ''Windows x86 Online'', or ''Windows x86 Offline'' (either .exe file is OK).
 
-
:3. Double click the downloaded installer .exe file for Java 7 Update 60, and compete the installation.
 
- 
-
After completing either one of the above fixes, Jmol Java applet function should be restored.
 
-
</td></tr></table></center>
 
-
==============================-->
 
- 
The instructions below were tested in Windows 10, Windows 7 and Windows XP.
The instructions below were tested in Windows 10, Windows 7 and Windows XP.
-
:In '''Windows XP''', tests were done with Java 1.7.0_71 and also Java 1.8.0_45. Java 1.8 warns that it is not fully compatible with Windows XP, but it installed OK and afterwards, no problems were seen running the Jmol Java applet in the browsers listed below.
+
:In '''Windows XP''', tests were done with Java 1.7.0_71, 1.8.0_45, and 1.8.0_91. Java 1.8 warns that it is not fully compatible with Windows XP, but it installed OK and afterwards, no problems were seen running the Jmol Java applet in the browsers listed below.
====Internet Explorer in Windows====
====Internet Explorer in Windows====
Line 135: Line 151:
{{Clear}}
{{Clear}}
-
<!--====Chrome in Windows====
 
-
* Copy and paste the [https://java.com/en/download/faq/chrome.xml following line] into the address slot in the top of the browser:
 
-
:<span style="font-size:150%"><tt>chrome://flags/#enable-npapi</tt></span>
 
-
* Click the '''Enable''' link for the '''Enable NPAPI''' configuration option.
 
-
* Click the '''Relaunch''' button that now appears at the bottom of the configuration page.
 
-
* Enter ''chrome://plugins'' in the address slot at the top.
 
-
* Find ''Java'' and make sure it is Enabled (a ''Disable'' option is visible when it is Enabled). It should '''not''' be necessary to check the box ''Always Allowed'' (possible security hazard).
 
-
* You may have to allow a security warning specific to each particular site. Instead of seeing the molecule, you may see this:
 
-
[[Image:Chrome-java-needs-permission.png|center]]
 
-
Look for this in the upper right corner of the Chrome browser window: [[Image:Chrome-plugin-blocked.png]]
 
-
<br>But it will disappear in a few seconds, becoming this: [[Image:Chrime-plugin-red-x.png]]
 
-
*Click on the <font color='red'>red X</font> to open a permission dialog:
 
-
[[Image:Chrome-allow-plugins.png|center]]
 
-
*Check ''always allow'' for the current site, and click DONE.
 
-
*Reload the page.
 
- 
-
<span style="background:#ffffa0;">&nbsp;If you are still having problems, please see the official complete instructions at [https://java.com/en/download/faq/chrome.xml How do I use Java with the Google Chrome browser?].&nbsp;</span> -->
 
- 
-
====Firefox in Windows====
 
-
*Open the menu in the upper right corner (or the ''Tools'' menu). [[Image:Firefox-menu.png]]
 
-
* Click ''Add-ons''.
 
-
* Select ''Plug-ins'' in the column at left.
 
-
* Make sure ''Java'' is set to ''Ask to Activate'' (not "Never Activate").
 
-
* Go to a test Jmol Java applet page: [http://bioinformatics.org/firstglance/fgij/fg.htm?mol=1d66&JAVA 1d66 in Java in FirstGlance].
 
-
* Click the ''Allow'' button in a gray security dialog that appears. (With Java 1.7 in Windows XP, you may need to approve several permission dialogs.)
 
-
* Now you should see the molecule! (If you don't, try simply reloading the page.)
 
-
{{Template:Unsigned applets}}
 
- 
-
====Opera in Windows====
 
-
In November 2015, Opera 33.0 runs Java (if you have it configured, see below), apparently without any warnings.
 
- 
-
In October 2015, Opera version 32.0 still supports Java but a message is displayed at the top of the page warning that Java support may soon be removed. (This is likely related to the drop of support in Chrome/Chromium, which may propagate into Opera in a future version.)
 
- 
-
In April, 2015, Opera version 28.0 supports Java. (Earlier versions in 2014 did not.)
 
- 
-
* Enter "opera:plugins" in the address slot at the top of the browser window. A "Plug-ins" page should appear.
 
-
* Find Java in the Plug-ins page. If it has a ''Disable'' button, it is enabled. If it is gray and has an ''Enable'' button, click ''Enable''.
 
-
* Go to a site that uses the Jmol Java applet (see test link above under Firefox).
 
-
* After OK-ing any permissions dialogs that appear, the molecule should appear.
 
-
* If the molecule does not appear, try '''reloading'''.
 
-
{{Template:Unsigned applets}}
 
----
----
Line 185: Line 160:
Alternatively, go to [http://firstglance.jmol.org FirstGlance.Jmol.Org], enter a PDB code (a small one is 3hyd), '''check "Use Java"''', and Submit.
Alternatively, go to [http://firstglance.jmol.org FirstGlance.Jmol.Org], enter a PDB code (a small one is 3hyd), '''check "Use Java"''', and Submit.
-
<!--====Chrome in OS X====
 
-
In November, 2014, Chrome Version 39 was released which, for the first time, worked with Java 7 in OS X. In April, 2015, '''Chrome Version 42''' was released, and the instructions below apply to this Version.
 
-
* Copy and paste the [https://java.com/en/download/faq/chrome.xml following line] into the address slot in the top of the browser:
+
====Safari 10 in OS X====
-
:<span style="font-size:150%"><tt>chrome://flags/#enable-npapi</tt></span>
+
The following applies to Safari version 10.x which is current in 2018 in OS 10.10 (Yosemite). If the instructions below don't work, see [[#Safari 11 in OS X]].
-
* Click the '''Enable''' link for the '''Enable NPAPI''' configuration option.
+
-
* Click the '''Relaunch''' button that now appears at the bottom of the configuration page.
+
 +
If the molecule does not display, or you get a <span style='background:yellow;'>yellow message</span> saying that the Java applet is not enabled for this website:
 +
<table><tr><td rowspan="2" valign="top">
 +
# Open ''Preferences'' from ''Safari'' in the menubar.
 +
# Click the ''Security'' tab.
 +
# At "Internet plug-ins", make sure that ''Allow Plug-ins'' is checked.
 +
# At "Internet plug-ins", click the button ''Website Settings''.
 +
# Select ''Java'' on the left.
 +
# You should see ''Currently Open Websites'', probably with the setting "Off" (or "Ask").
 +
# Change the setting to "On" (or "Allow").
 +
# Click ''Done'', and close the Preferences.
 +
# Reload the page that needs the Jmol Java applet.
 +
# You will likely need to allow several permission dialogs.
 +
</td><td>
 +
[[Image:Safari-prefs-security.png]]<center>
 +
Above: Steps 2, 3, and 4.</center><br>
 +
</td></tr><tr><td>
 +
[[Image:Safari-security-websites-java.png]]<center>
 +
Above: Steps 5, 6, 7, and 8.</center>
 +
</td></tr></table>
-
* Enter ''chrome://plugins'' in the address slot at the top.
+
{{Template:Unsigned applets}}
-
* Find ''Java'' and make sure it is Enabled. It should '''not''' be necessary to check the box ''Always Allowed'' (possible security hazard).
+
 +
====Safari 11 in OS X====
 +
Mac OS 10.11 El Capitan uses Safari 11. We do not have an OS 10.11 test system, but it appears that Java can be enabled in Safari 11 following [https://discussions.apple.com/thread/8361245 these instructions].
-
* You may have to allow a security warning specific to each particular site. Look for a <font color='red'>red X</font> in the upper right corner of the Chrome window, and click it.
 
-
[[Image:Chrome-allow-plugins-osx.png|center]]
 
-
* Check ''always allow'' for the current site, and then DONE. (For further detailed snapshots, please see [[#Chrome in Windows]] above.) -->
 
- 
-
====Firefox in OS X====
 
-
With Firefox in the foreground, open the '''Tools''' pull-down menu from the menubar (top of your screen). Select '''Add-ons'''. Select Plug-ins at the left, then under '''Java''' set it to '''Ask To Activate'''. (''Always Activate'' is not a safe setting.)
 
- 
-
Now when you go to a website that needs Jmol, you may need to OK up to four permission dialogs before Jmol is allowed to run. Some have checkboxes to remember your choice.
 
-
{{Template:Unsigned applets}}
 
- 
-
====Safari in OS X====
 
-
If the molecule does not display, or you get a <span style='background:yellow;'>yellow message</span> saying that the Java applet is not enabled for this website:
 
-
* Open ''Preferences'' from ''Safari'' in the menubar.
 
-
* Click the ''Security'' tab. [[Image:Safari-prefs-security.png|right|600 px]]
 
-
* At "Internet plug-ins", make sure that ''Allow Plug-ins'' is checked.
 
-
* At "Internet plug-ins", click the button ''Website Settings''.
 
-
* Select ''Java'' on the left.
 
-
* You should see ''Currently Open Websites'', probably with the setting "Ask".
 
-
* Change the setting to "Allow".
 
-
[[Image:Safari-security-websites-java.png|right|500 px]]
 
-
* Click ''Done'', and close the Preferences.
 
-
* Reload the page that needs the Jmol Java applet.
 
-
* You will likely need to allow several permission dialogs.
 
-
{{Template:Unsigned applets}}
 
{{Clear}}
{{Clear}}
-
====Opera in OS X====
+
<!--====Opera in OS X====
-
Tools, Advanced, Plug-ins, Java, Enable. With Opera version 12.16 (current in March-October, 2015) and Java 7 or 8, we have been '''unable to get the Jmol java applet to display'''.
+
Tools, Advanced, Plug-ins, Java, Enable. With Opera version 12.16 (current March 2015 through May 2016) and Java 7 or 8, we have been '''unable to get the Jmol java applet to display'''. The lack of any new versions of Opera for more than a year suggests that support for OS X has ended.-->
==Enable Unsigned Java Applets==
==Enable Unsigned Java Applets==
Line 255: Line 222:
* [[Java]] which also discusses security.
* [[Java]] which also discusses security.
* [[Using Java for Rendering Structures]] in Proteopedia.
* [[Using Java for Rendering Structures]] in Proteopedia.
 +
* [https://blokt.com/guides/best-secure-browsers-for-private-browsing The Best Secure Browsers for Private Browsing in 2019]: Chrome gathers as much information about you as it can to send back to Google for marketing purposes. Firefox is not the product of a for-profit corporation, and does not gather such information. This article tells how to maximize your privacy while using Firefox.

Current revision

Quick Start

  • Windows: Use Internet Explorer. Detailed instructions are below.
  • macOS: Use the Waterfox Classic browser (not Waterfox Current). In July, 2020, this is the only macOS (11.12 Sierra or later) browser that runs both Proteopedia and FirstGlance in Jmol with Java. Permission dialogs for using Java are straightforward.

To instruct Proteopedia to use Java, add ?use=java to the end of the URL in the browser's address line. Details.

To instruct FirstGlance to use Java, add &java to the end of the URL in the browser's address line.


Below is explained how to install Java, and how to enable it in various web browsers. Using Java with Proteopedia or with FirstGlance in Jmol will improve performance significantly. Once you have Java working, you can make it the default in Proteopedia (see Using Java for Rendering Structures).

Oracle, the makers of Java, plans to deprecate the Java browser plugin in Java 1.9, and to discontinue the plugin at a future date. Thus we cannot count on the Java plugin indefinitely, but the date when it will stop working is uncertain. Stand-alone Java applications are expected to continue to be supported.

Even before that happens, common browsers are removing the support for running Java applets (like Jmol) within web pages.

We believe this page is up to date for July, 2020 (Java 1.8.0_251, Java Release Dates). If you suspect any issues, please email Image:Contact-email.png.

Contents

Java Applets do not work in Chrome, Firefox, Edge, or Opera

Official browser compatibility documentation for Java.

Chrome

The Google Chrome browser does not support Java (including the Java-dependent version of Jmol). This change happened in late 2015 and had been announced well in advance.

The HTML5 implementation of Jmol, JSmol, works just fine in Chrome.

Firefox

The Mozilla Firefox browser does not support Java (including the Java-dependent version of Jmol) since version 52 of the 32-bit browser; the 64-bit Firefox has never supported Java. That change happened in March 2017 and had been announced well in advance. Until sometime in 2018, there was a special version of Firefox called Extended Support Release (ESR) that supported Java; however, later ESR versions no longer support Java.

The HTML5 implementation of Jmol, JSmol, works just fine in Firefox.

Edge in Windows 10

The Microsoft Edge browser (new in Windows 10) does not support Java. However, Internet Explorer 11 is available in Windows 10 for use with Java. See details below.

The HTML5 implementation of Jmol, JSmol, works in Edge, although rotation is jerkier and operation is slower than in Firefox or Chrome.

Opera

The Opera browser does not support Java.

The HTML5 implementation of Jmol, JSmol, works in Opera.

Browsers That Support Java

Official browser compatibility documentation for Java.


Internet Explorer supports Java as of November, 2017. See below for details for each of these browsers.

Safari versions through 11 support Java (through OS 10.11 El Capitan), but Safari 12 and later do not support Java (OS 10.12 Sierra and later). (Safari Version History).


Pale Moon (Windows only) is an independent browser, very similar to Firefox, whose developer has announced indefinite support for NPAPI plugins (including Java), and hence is an alternative to continue running Jmol applets inside web pages, at least while Oracle continues to provide the Java Plug-in.

Waterfox Classic (available for Windows and OS X) is very similar to Firefox and supports Java (as of July, 2020, our most recent test). Waterfox is the best solution for macOS.

  • Waterfox Classic is available only for 64-bit operating systems. It is harmless to download it and try it -- if you have a 32 bit operating system, it won't run. All recent macOS operating systems are 64 bit. Many Windows installations are 32 bit.

SeaMonkey (available for Windows and OS X) is a Mozilla-based browser that supports Java, at least up to version 2.49.4 current in January, 2019 through July, 2020.

  • SeaMonkey support for Java has been removed in version 2.53.1.[1]
  • Seamonkey version 2.49.4 does not run FirstGlance in Jmol. Since all other browsers do, this is probably due to a bug in the javascript of Seamonkey.


Security with Java

Before proceeding, you should be aware that using Java is likely a security threat -- see Using Java As Safely As Possible. As explained there, Windows users will be safest if they use Internet Explorer for Java, and a different browser, in which Java is disabled, for general web browsing.

Update Your Web Browser

For Proteopedia and FirstGlance in Jmol, Java operates within a web browser (as a "Java applet"). Make sure your web browser is up to date with the latest version.

  • Internet Explorer (Windows): Start, Control Panel, Windows Update (may be under System and Security).
  • Safari (OS X): Java is not supported in macOS versions later than El Capitan (10.11). If you have El Capitan or earlier: System Preferences, App Store. Click on the Check Now button. Install any available update for Safari or OS X.

Install or Update Java

Start by updating, or installing, Java. The same procedure is used for Windows, or OS 10.7 (Lion), 10.8 (Mountain Lion), 10.9 (Mavericks), 10.10 (Yosemite), or 10.11 (El Capitan).

If you are using OS 10.6 (Snow Leopard) or earlier, Java is updated through Apple Software Updates.

Use a Java-capable browser: Internet Explorer, Safari, or Pale Moon. (Do not use Chrome, Firefox, Edge, or Opera.)

At java.com, click on "Do I have Java?". Then click the button "Verify Java Version".

If nothing happens ("Verifying Java" displays indefinitely), click the Download link and proceed to install Java.

If you are using the Safari browser, you may see "Java blocked for this website". Click on that message to get a dialog where you can trust (unblock) Java for this website:

If you are using the Pale Moon browser, you may see Activate Java Applet. Click on that message to activate. Next you may see a drop-down dialog at the upper left of the browser window that says Allow java.com to run "Java Applet". Click on one of the Allow buttons.

After a brief pause (while the Java Virtual Machine starts), a report will tell you that you are up to date, or that you need to update Java.

If you see "Missing Plug-in" it means that you have no Java installed previously. In that case click Download to download and install Java.

When installing Java, pay attention to the pre-checked "recommended" options to change some browser preferences. You may wish to uncheck these.

Enable Java for Web Browsers

This applies to both Windows and OS X.

  • Open the Java Control Panel.
    • Windows: Start, Control Panel, Java.
    • OS X: System Preferences, Java.
  • Click the Security tab.
  • Make sure that Enable Java content in the browser is checked.
  • Setting the security level to High is OK.
  • Click the OK button at the bottom.

Enable Java In Your Browser

Because Java has a history of being a security problem, each web browser has controls to enable or disable Java. Typically it is disabled by default, so it must be enabled.


Windows

The instructions below were tested in Windows 10, Windows 7 and Windows XP.

In Windows XP, tests were done with Java 1.7.0_71, 1.8.0_45, and 1.8.0_91. Java 1.8 warns that it is not fully compatible with Windows XP, but it installed OK and afterwards, no problems were seen running the Jmol Java applet in the browsers listed below.

Internet Explorer in Windows

Accessing Internet Explorer in Windows 10

Windows 10 recommends that you use the new Microsoft Edge browser, but it does not support Java. Internet Explorer 11, which supports Java, is included in Windows 10 but is initially hidden. To access it:

  1. Click Start and type Internet Explorer in the search box. (Do not use Cortana voice commands for this.)
  2. A "Best Match" list will appear with Internet Explorer at the top (see image at right).
  3. Right-click on Internet Explorer and "Pin to Taskbar" or "Pin to Start" or both.

Now you have convenient access to Internet Explorer for use with Java applets.

Internet Explorer: Enabling Java

This procedure should work in Windows XP and all later versions including Windows 7 and Windows 10.

  • Right click in a blank gray area near the top of the browser window. A menu should open as shown at right.
  • Make sure that Menu bar is checked.
  • Open the Tools menu (also available from a gear-shaped icon at the upper right of the browser window) and click Manage add-ons.
  • In the window that opens, on the left, select Toolbars and Extensions.
  • In the main list, find Oracle.
  • Click Java (under Oracle) and make sure it is enabled. If there are multiple Javas, enable all.
  • Click the Close button.

Go to a Java-applet requiring website, and after OK-ing two permission dialogs, the Java applet should display the molecule. Here is a link for testing: 1d66 in Java at FirstGlance in Jmol. If the molecule still is not displayed, the website may be using an older unsigned Java applet. This requires one additional step: see Enable Unsigned Java Applets.



Apple Mac OS X

Testing the Jmol Java Applet

Proteopedia.Org displays molecules in Jmol. In order to force it to use the Java applet, use this link: 1d66 with Java in Proteopedia (see Using Java for Rendering Structures).

Alternatively, go to FirstGlance.Jmol.Org, enter a PDB code (a small one is 3hyd), check "Use Java", and Submit.

Safari 10 in OS X

The following applies to Safari version 10.x which is current in 2018 in OS 10.10 (Yosemite). If the instructions below don't work, see #Safari 11 in OS X.

If the molecule does not display, or you get a yellow message saying that the Java applet is not enabled for this website:

  1. Open Preferences from Safari in the menubar.
  2. Click the Security tab.
  3. At "Internet plug-ins", make sure that Allow Plug-ins is checked.
  4. At "Internet plug-ins", click the button Website Settings.
  5. Select Java on the left.
  6. You should see Currently Open Websites, probably with the setting "Off" (or "Ask").
  7. Change the setting to "On" (or "Allow").
  8. Click Done, and close the Preferences.
  9. Reload the page that needs the Jmol Java applet.
  10. You will likely need to allow several permission dialogs.
Image:Safari-prefs-security.png
Above: Steps 2, 3, and 4.

Image:Safari-security-websites-java.png
Above: Steps 5, 6, 7, and 8.

If the molecule still is not displayed, the website may be using an older unsigned Java applet. This requires one additional step: see Enable Unsigned Java Applets.

Safari 11 in OS X

Mac OS 10.11 El Capitan uses Safari 11. We do not have an OS 10.11 test system, but it appears that Java can be enabled in Safari 11 following these instructions.


Enable Unsigned Java Applets

This step will not be necessary for recently updated websites, such as Proteopedia or FirstGlance in Jmol, that use a Java applet signed by a trusted authority. If you can already see the molecule, you don't need to do this step.

After doing all the above steps, websites that still use the unsigned Jmol Java applet will remain blocked:


The following fix applies to both Windows and OS X.

  • Open the Java Control Panel.
    • Windows: Start, Control Panel, Java.
    • OS X: System Preferences, Java.
  • Click the Security tab.
  • In the section Exception Site List, click the button Edit Site List....

  • Click the Add button, and paste or type in only the domain name of the website, as shown in the examples in the above screenshot. Include http:// but stop before the next slash.
  • Click OK and confirm saving this website.

Now the molecule should display in the unsigned Java applet. You may still need to give permission in a dialog like this:

An example of a website using the unsigned Jmol Java applet is Protein Secondary Structure at Wiley.Com.

See Also

Proteopedia Page Contributors and Editors (what is this?)

Eric Martz, Angel Herraez, Joel L. Sussman

Personal tools