Difference between revisions of "Troubleshooting/Java Problems"

From Jmol
Jump to navigation Jump to search
(create the page to collect tips on problems related to Java)
 
Line 1: Line 1:
 +
__TOC__
 
== Java Control Panel ==
 
== Java Control Panel ==
Several operation will need to use the Java Control Panel. This is installed in the computer separately from the browser or any programs.
+
A few operations will need to use the ''Java Control Panel''. This is installed in the computer separately from the browser or any programs.
 
Here is how to reach it<ref>based on http://www.uwplatt.edu/oit/howto/java-cache.html</ref>:
 
Here is how to reach it<ref>based on http://www.uwplatt.edu/oit/howto/java-cache.html</ref>:
 
* ''Windows'':
 
* ''Windows'':
Line 6: Line 7:
 
# Select '''Settings'''
 
# Select '''Settings'''
 
# Select '''Control Panel'''
 
# Select '''Control Panel'''
# Select '''Java''' or '''Java Plug-in'''
+
# Select '''Java''' or '''Java Plug-in''' (if you don't see it, go to ''Other options'' in the left panel or change to ''Classic View'').
 
* ''MacOS'':
 
* ''MacOS'':
 
# Go to the '''/Applications/Utilities/Java''' directory.
 
# Go to the '''/Applications/Utilities/Java''' directory.
Line 15: Line 16:
 
:  or load the '''Control Panel applet''' page with a web browser:
 
:  or load the '''Control Panel applet''' page with a web browser:
 
::(JRE installation directory)/ControlPanel.html
 
::(JRE installation directory)/ControlPanel.html
 +
  
 
== Java cache ==
 
== Java cache ==
 
Applets in web pages visited are cached by the browser into a Java cache space in local disk (different from the browser's cache). This allows a faster response when the same applet is used in another web page visited later.
 
Applets in web pages visited are cached by the browser into a Java cache space in local disk (different from the browser's cache). This allows a faster response when the same applet is used in another web page visited later.
  
However, on some occasions this may cause trouble. Namely, if you open a new web page that uses a different version of the Jmol applet, sometimes the browser will use the former applet version rather than the new one. In these cases, even closing and reopening the browser, or clearing the browser cache, may give no solution. Then, you will have to clear the Java cache manually.
+
However, on some occasions this may cause trouble. Namely, if you open a new web page that uses a different version of the Jmol applet, sometimes the browser will use the former applet version rather than the new one. In these cases, even closing and reopening the browser, or clearing the browser cache, may give no solution. Then, you will have to clear the Java cache manually:
  
# First, reach the '''Java Control Panel''' (see instructions above).
+
* First, reach the '''Java Control Panel''' (see instructions [[#Java_Control_Panel|above]]). Then, depending on your operating system:
 
# Click on the '''Cache''' tab or menu section.
 
# Click on the '''Cache''' tab or menu section.
 
# Click on the '''Clear''' button (or '''Clear JAR Cache''').
 
# Click on the '''Clear''' button (or '''Clear JAR Cache''').
 
# Accept (OK / Yes).
 
# Accept (OK / Yes).
 +
: or
 +
# Click on the '''General''' tab or menu section.
 +
# Under '''Temporary internet files''', click on the '''Configuration''' or '''Settings''' button.
 +
# Click on the '''Delete files''' button.
  
  
 
== Google Chrome browser ==
 
== Google Chrome browser ==
This web browser (released Sept. 2008) is only compatible with Java version 6u10 (also named 1.6.0_10), or later. If the browser is up-to-date, it should direct you to the adequate download page automatically whenever you try a page with an applet. If not, search [http://www.java.com Sun's Java site] for this version (currently in beta, or Release Candidate state), or go to [http://java.sun.com/javase/downloads/index.jsp Java downloads full listing].
+
This web browser (released Sept. 2008) is only compatible with Java version 6u10 (also named 1.6.0_10), or later. If the browser is up-to-date, it should direct you to the adequate download page automatically whenever you try a page with an applet. If not, search [http://www.java.com Sun's Java site] for this version (currently in beta, or Release Candidate state), or go to [http://java.sun.com/javase/downloads/index.jsp full listing of Java downloads].
 +
 
 +
 
  
== References ==
+
<hr width=30%>
 +
'''<big>References</big>'''
 
<references/>
 
<references/>

Revision as of 18:45, 25 September 2008

Java Control Panel

A few operations will need to use the Java Control Panel. This is installed in the computer separately from the browser or any programs. Here is how to reach it[1]:

  • Windows:
  1. Click on the Start menu
  2. Select Settings
  3. Select Control Panel
  4. Select Java or Java Plug-in (if you don't see it, go to Other options in the left panel or change to Classic View).
  • MacOS:
  1. Go to the /Applications/Utilities/Java directory.
  2. Open the Java x.xx Plugin Settings application (x.xx is your plugin version).
  • Linux:
  1. Run the Java Plug-In Control Panel executable:
(JRE installation directory)/bin/ControlPanel
or load the Control Panel applet page with a web browser:
(JRE installation directory)/ControlPanel.html


Java cache

Applets in web pages visited are cached by the browser into a Java cache space in local disk (different from the browser's cache). This allows a faster response when the same applet is used in another web page visited later.

However, on some occasions this may cause trouble. Namely, if you open a new web page that uses a different version of the Jmol applet, sometimes the browser will use the former applet version rather than the new one. In these cases, even closing and reopening the browser, or clearing the browser cache, may give no solution. Then, you will have to clear the Java cache manually:

  • First, reach the Java Control Panel (see instructions above). Then, depending on your operating system:
  1. Click on the Cache tab or menu section.
  2. Click on the Clear button (or Clear JAR Cache).
  3. Accept (OK / Yes).
or
  1. Click on the General tab or menu section.
  2. Under Temporary internet files, click on the Configuration or Settings button.
  3. Click on the Delete files button.


Google Chrome browser

This web browser (released Sept. 2008) is only compatible with Java version 6u10 (also named 1.6.0_10), or later. If the browser is up-to-date, it should direct you to the adequate download page automatically whenever you try a page with an applet. If not, search Sun's Java site for this version (currently in beta, or Release Candidate state), or go to full listing of Java downloads.



References