Configure the Sun Java Environment
If you experience poor system performance, you may need to make adjustments
to your Sun Java. By default, the memory available for Sun Java version 6 to version 7 is very limited.
The recommended Sun Java version is version 6 update 10 or above, because
it uses the latest Java technology to access more memory and improve system
performance.
Download
You can manually increase the memory limit for the Java version 7 or below, if your system allows.
This topic contains the procedures for identifying your Sun Java version
and configuring a memory limit increase; as well as removing old Sun Java versions.
If your performance does not improve after following this procedure
and you use a multiple monitor system, you may need to upgrade your graphics
card software.
Graphics Card Drivers
Configure your Sun Java environment
- Click Start, then select Control Panel from
the pop-up menu.
- In the Windows Control
Panel, open Java. This may be located under Other Control Panel Options.
- Select the Java tab.
- In the Java
Applet Runtime Settings section, click View. The Java Runtime Settings dialog box opens. The Version column displays the version number with the relevant update separated by an underscore.
|
|
Note: The recommended Sun Java version for this application is version 6 update 10 or above. This version automatically provides a larger amount of Java memory so that you do not need to manually increase the memory limit. |
- If your version of Sun
Java is 6 update 7 or below, do one the following:
Upgrade Sun Java
- Download the recommended
Sun Java version 6 update 10 or above.
Download
|
|
Note: Clients using a Firefox browser need Firefox 3 or higher to run Sun Java
version 6 update 10. |
Configure a Java memory increase
- Double-click the
Runtime Parameters cell
for the most recent version in the list. An edit box displays. You may
need to resize the columns to see this field.
- Type the text string
for the amount of memory that you want to make available. You can increase
the Java memory to a value of 128MB, or up to 512MB if your system allows.
The following table lists case-sensitive
text strings and the correlating amount of memory they specify:
|
Java Runtime Parameters
|
Amount of memory
|
|
-Xmx128m
|
128MB
|
|
-Xmx192m
|
192MB
|
|
-Xmx256m
|
256MB
|
|
-Xmx512m
|
512MB
|
- Click OK.
- Restart the PC for the
new Java version or memory changes to take effect.
|
|
Tip: If the browser
displays errors such as "The Java
Runtime Environment cannot be loaded" or "Application
Error. The memory could not be read", repeat this procedure
and re-configure the memory limit to a lower value. |
Remove old versions
of Sun Java
Retaining multiple versions of Java can cause problems when running
this application. Remove the old versions that remain when you upgrade
Java.
- Display a list of currently installed programs by doing the following:
- Click Start, then Control Panel. Double-click Add or Remove Programs. (Windows 95/98/XP)
- Click Start, then Control Panel. Double-click Programs and Features. (Windows Vista, Windows 7)
- Select the outdated Java
version in the list, then click Remove (Windows 95/98/XP) or Uninstall (Windows Visa, Windows 7).
A confirmation message displays.
- Repeat step 2 if you
have more than one outdated Java version installed.
- Click Yes.
See Also