Installing and enabling Java: Difference between revisions

Angel Herraez (talk | contribs)
SeaMonkey version 2.49.1
Angel Herraez (talk | contribs)
 
(42 intermediate revisions by 3 users 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.
 
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">
<div style="background:#ffe0e0; width:90%; margin-left:5%; padding:10px">
Line 7: Line 16:
</div>
</div>


We believe this page is up to date for '''July, 2017''' (Java 1.8.0_141 in OS X, 1.8.0_144 in Windows, [https://www.java.com/en/download/faq/release_dates.xml Java Release Dates]). If you suspect any issues, please email [[Image:Contact-email.png]].
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==
==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].
===Chrome===
===Chrome===
[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.
[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.
Line 16: Line 28:


===Firefox===
===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/t5/Problems-with-add-ons-plugins-or/Why-do-Java-Silverlight-Adobe-Acrobat-and-other-plugins-no/ta-p/31069 That change happened in March 2017] and had been announced well in advance.
[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.
The HTML5 implementation of Jmol, JSmol, works just fine in Firefox.
If you would like to extend use of Java in Firefox through early 2018, you can install the [https://support.mozilla.org/t5/Problems-with-add-ons-plugins-or/Why-do-Java-Silverlight-Adobe-Acrobat-and-other-plugins-no/ta-p/31069 Extended Support Release (ESR)].


===Edge in Windows 10===
===Edge in Windows 10===
Line 33: Line 43:


==Browsers That Support Java==
==Browsers That Support Java==
'''Internet Explorer''' and '''Safari''' support Java as of November, 2017. See below for details for each of these browsers.
[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]).


'''Firefox Extended Support Release''' supports Java, at least temporarily (see [[#Firefox|above]]).


'''[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.
'''[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]''' (available for Windows and OS X) is very similar to Firefox and supports Java in March, 2016. On OS X (and Windows?), Waterfox shares bookmarks and preferences with Firefox, and both cannot be run at the same time. Waterfox 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.
'''[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.


'''[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.1 released November, 2017. It is unclear whether SeaMonkey will follow Firefox in removing support for Java.
*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. -->


'''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.
'''[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>
 
<!-- Windows 5.1.3.2000 does not work with FG Jmol.
'''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 52: 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.


==Install or Update Java==
==Install or Update Java==
Line 143: Line 161:
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.


====Safari in OS X====
====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 <span style='background:yellow;'>yellow message</span> saying that the Java applet is not enabled for this website:
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">
<table><tr><td rowspan="2" valign="top">
Line 165: Line 185:


{{Template:Unsigned applets}}
{{Template:Unsigned 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 [https://discussions.apple.com/thread/8361245 these instructions].
{{Clear}}
{{Clear}}


Line 198: 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.

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Eric Martz, Angel Herraez, Joel L. Sussman