Skip to Main Content

Principal Sponsors

The William and Flora Hewlett Foundation
The Hewlett Logo

Makes grants to address the most serious social and environmental problems facing society, where risk capital, responsibly invested, may make a difference over time.
The NSF LogoNational Science Foundation

An independent federal agency created by Congress in 1950 to promote the progress of science.

The King Saud LogoKing Saud University

King Saud University seeks to become a leader in educational and technological innovation, scientific discovery and creativity through fostering an atmosphere of intellectual inspiration and partnership for the prosperity of society.

Other Sponsors Logo

Troubleshooting Java

PhET's Java-based simulations use Sun Microsystems' Java Web Start technology to launch the simulations. This page will help you ensure that you have Java installed properly, and address some of the problems people might have running our programs. If you can't solve your problem here, please notify us by email at the following address: phethelp@colorado.edu.

FAQ's



How do I get Java?

To run the Java-based simulations you must have Java version 1.4.2_17 or higher installed on your computer. You can obtain the free downloads by clicking on the button below:
Java Jump

Note for Netscape Users

After you have installed Java Web Start, you will need to close and re-open your browser for Java Web Start to work.

Go to top

Why do you use Java Web Start instead of Java?

We use Java Web Start technology rather than Java Applets. Java Web Start, which is a free mechanism from Sun, is a more robust way of launching Java programs over the Web than applets. If you have had problems running applets in the past, you may well find that Java Web Start works much better. If you should have any problems, we will be happy to help you solve them. If the information on this page doesnít help, just send us email at phethelp@colorado.edu.

Go to top

Are there any problems running the simulations on a Mac?

Macintosh OS X 10.4 or higher is required to run our Java programs. You must have the latest version of Java (which will already be installed if you are using the auto-update feature of OS X). See http://www.apple.com/java/ for details.

Versions of Apple's Safari browser below 2.0 (included with OS X 10.4) do not launch our Java-based applications reliably.

Go to top

How do I check my computer's current version of Java?

Windows users:
From a command line (Start menu->All Programs->Accessories->Command Prompt), type: java -version followed by the enter key. You should see some text which will include something like "(build 1.4.2_05_05-b04)"; this number is the version of Java you are using. If you receive an error, Java is not properly installed (see above to reinstall).

Macintosh users:
From the Apple menu, click on "About this Mac", then on "More Info...". You will find the Java software version under "Software->Applications".

Go to top

I have Windows 2000 and I can only get the Flash based simulations to work.

Some Windows 2000 systems have been reported to lack part of the necessary Java configuration. These systems will typically start our Flash-based simulations reliably, but will appear to do nothing when launching our Java-based simulations.

To resolve this situation, please perform the following steps:

  1. From the desktop or start menu, open "My Computer"
  2. Click on the "Folder Options" item in the "Tools" menu
  3. Click on the "File Types" tab at the top of the window that appears
  4. Locate "JNLP" in the "extensions" column, and click once on it to select the item
  5. Click on the "change" button
  6. When asked to choose which program to use to open JNLP files, select "Browse"
  7. Locate the program "javaws" or "javaws.exe" in your Java installation folder (typically "C:\Program Files\Java\j2re1.xxxx\javaws", where "xxxx" is a series of numbers indicating the software version; choose the latest version)
  8. Select the program file and then click "Open" to use the "javaws" program to open JNLP files.

Go to top

General Java troubleshooting

The following are some general steps that you may wish to perform when attempting to solve Java-related problems:

  • Empty Your Browser's Cache
    Internet Explorer Firefox
    Select "Tools->Options", then click on the "Delete Files..." button under "Temporary Internet Files" Select "Tools->Options->Privacy", then click the "Clear" button next to "Cache".
  • Empty Java Web Start's Cache
    From Windows' Start menu, select "Java Web Start", then select "Preferences" from the File menu. Click "Advanced", then click the "Clear Folder" button.
  • Make Sure Windows can find Java and Java Web Start
    From a command line (Start menu->Accessories->Command Prompt), type java -version followed by the enter key. If you receive an error, Java is not properly installed. Please try reinstalling Java (see above) after uninstalling any Java entries in your list of installed programs (Control Panel ->Add/Remove Programs).

Go to top

Troubleshooting tips for networked computers

Why do simulations run for admin but not all users?

Java simulations may also fail to start on networked computers running Windows for some users while running properly for administrators. When Java Web Start tries to launch a simulation, it attempts to cache certain files in a "cache folder". This folder (or "directory") is determined when Java is installed, and may point to a folder that non-administrator accounts do not have access to, resulting in a launch failure. Correct this problem by setting the cache directory to one of your own choosing: Log on as an administrator.

Launch the Java Web Start Application Manager. This can be done in one of two ways. a) If the Java installation placed an icon either on your desktop or in the Start Menu -> All Programs list titled "Java Web Start", click it to start the application. b) Use the Windows search function (located in the Start Menu) to search for the program "javaws.exe". Once it is found, click on the file to run the application. Once the Java Web Start Application Manager is up and running, choose File>Preferences. In the Preferences dialog that appears, click on the Advanced tab. In this tab, you will find a text field labeled "Applications Folder". In this text field, put the name of an empty directory to which all users have write privileges. Note: This directory MUST be empty. All users should now be able to launch the Java simulations.

Issue 3: Web Proxy Settings
Java simulations may fail to start if the proxy settings in Java Web Start's configuration panel (Start Menu->Java Web Start, File Menu->Preferences) do not match those your system is currently using. To identify settings being used on your system, see your web browser's proxy settings, or contact you network administrator.

Local Install on Boot Drive Only
If you are operating in a networked environment, please ensure that both Java and the PhET simulations (if installed locally rather than running from our web site) are installed on local, non-networked drives. The PhET simulations must be installed on the boot drive.

Network Firewalls
Please ensure that your firewall is configured to allow both Java and Java Web Start to communicate through the firewall.

Go to top

Login / Register