Makes grants to address the most serious social and environmental problems facing society, where risk capital, responsibly invested, may make a difference over time.
An independent federal agency created by Congress in 1950 to promote the progress of science.
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.
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: firstname.lastname@example.org.
- (Mac users) When I click "run now" to start the simulation all I get is a text file that opens?
- چۆن java وهرگرم؟
- Why do you use Java Web Start instead of Java?
- ئایا بهڕیوهبردنی شێوهکاریهکان لهسهر Mac تووشی کێشهت ئهکا؟
- How do I check my computer's current version of Java?
- I have Windows 2000 and I can only get the Flash based simulations to work.
- General Java troubleshooting
- Troubleshooting tips for networked computers
(Mac users) When I click "run now" to start the simulation all I get is a text file that opens?
This problem will affect mac users who recently installed Apple's "Java for Mac OS X 10.5 Update 4". The update will typically be done via Software Update, or automatically. After installing this update, the problem appears: clicking on JNLP files in Safari or FireFox caused the JNLP file to open in TextEdit, instead of starting Java Web Start.
The fix is:
1. Go to http://support.apple.com/downloads/Java_for_Mac_OS_X_10_5_Update_4
2. Click Download to download a .dmg file
3. When the .dmg has downloaded, double-click on it (if it doesn't mount automatically)
4. Quit all applications
5. Run the update installer
چۆن java وهرگرم؟
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.
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 email@example.com.
ئایا بهڕیوهبردنی شێوهکاریهکان لهسهر Mac تووشی کێشهت ئهکا؟
Macintosh OS X 10.5 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.
If when you click "Run Now" to start a simulation and all you get is a text file that opens, see this answer.
How do I check my computer's current version of Java?
Windows Vista users:
From a command line (Start menu->All Programs->Accessories->Command Prompt), type: javaws -viewer 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).
Windows 2000/XP 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).
From the Apple menu, click on "About this Mac", then on "More Info...". You will find the Java software version under "Software->Applications".
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:
- From the desktop or start menu, open "My Computer"
- Click on the "Folder Options" item in the "Tools" menu
- Click on the "File Types" tab at the top of the window that appears
- Locate "JNLP" in the "extensions" column, and click once on it to select the item
- Click on the "change" button
- When asked to choose which program to use to open JNLP files, select "Browse"
- 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)
- Select the program file and then click "Open" to use the "javaws" program to open JNLP files.
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 -versionfollowed 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).
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.
Please ensure that your firewall is configured to allow both Java and Java Web Start to communicate through the firewall.