|
This article is a part of the "Software Support" documentation.
| ||
|
This page describes how to handle technical problems starting and running Java programs.
• You get a "Windows is searching for javaw.exe..." message: Wrong Java Runtime installed OR Classpath incorrect OR Path incorrect • Program does not start at all: Java Runtime installation error OR Classpath incorrect OR Path incorrect • Program crashes/hangs at start time or while running: Programming errors • No sound when playing MIDI/style: Sound through the keyboard/computer
All information at this page applies to Windows systems, except otherwise stated.
| ||
|
▲ Java Runtime installation error
The correct version of Java Runtime Environment (read Download Page) must be installed at the computer. Check JRE version. More information:
|
Non-Windows systems
• Check that the correct Java Runtime Environment (JRE) version is installed.
|
|
(Screen dump from Windows 2000. Other Windows versions look similar. Java JRE: "J2SE Runtime Environment 5.0 Update 4" is installed). If no JRE is installed, install JRE.
| ||
|
▲ Wrong Java Runtime installed
Make sure you install:
| ||
|
▲ Classpath incorrect
The Classpath variable is used by Windows to tell the Java Runtime Environment(JRE) in which folder(s) to look for class files (Java executables).
If the Classpath variable is set to
Classpath variables can be combined to cover multiple folders like this:
To force the JRE to look into the current (active) folder add
Some installation programs writes/modifies the classpath variable incorrectly.
Omitting
Note: At many computers the Classpath variable is not set at all. This will work like the period (current folder).
|
|
|
|
Editing the Classpath variable in Windows 2000 and XP
Editing the Classpath variable in Windows Vista, 7 and 8
| ||
|
▲ Path incorrect
The Path variable is used by Windows to tell Windows where to look for the Java Runtime Environment (JRE). The JRE file name is javaw.exe. If for some reason this file is not found in one of the folders listed in the Path variable; the JRE will not be found; will not be started; and Java-based applications can not run. Normally the javaw.exe file is stored within the folder "C:\windows\system32"; which normally is the first folder name in the Path variable. If javaw.exe is NOT in this folder, the easiest method is to locate "javaw.exe" in the file system; CREATE A COPY of this file; and place it in the "C:\windows\system32" folder. A more difficult and more risky operation is to add the name of the folder where javaw.exe is stored (e.g. "C:\java\bin") to the Path variable. Read in the section above how to view and edit System variables. If you edit the Path variable remember to type a semicolon between folder names. |
| |
|
▲ Programming errors
A programming error will create a Java Runtime error and will stop the program execution. When this happens nothing else but closing the program can be performed. |
But the following information will be an invaluable help to me.
Please report: • The program version number. See the "About" box. • Which operation were you performing when the error occurred: Which menu was just selected; Which button was just clicked; etc. | |