Sun Java Solaris Communities My SDN Account Join SDN
 
Java Plug-in 1.2.2 Documentation

Java Plug-in Control Panel

 

Java Plug-in Home Page | Proxy Configuration
Other Java Plug-in Documentation

- Starting the Java Plug-in Control Panel
- Saving Options
- Setting Control Panel Options

The Java Plug-in Control Panel enables you to change the default settings used by the Java Plug-in at startup. All applets running inside a running instance of Java Plug-in use these settings.

Starting the Java Plug-in Control Panel

Start the Java Plug-in Control Panel as follows:

On Windows: From the Start menu, choose the Programs option. Then choose the Java Plug-in Control Panel menu item.

On Solaris: You can run the Control Panel using the command:

        ~/.netscape/java/ControlPanel
Or you can use Netscape to visit the Control Panel applet page which was installed under your home directory as .netscape/java/ControlPanel.html. For example:
        netscape ~/.netscape/java/ControlPanel.html

Saving Options

When you have completed your changes to the Control Panel options, click Apply to save the changes and leave the Java Plug-in Control Panel open. Click Reset to cancel your changes and reload the Control Panel values from the configuration file.

Setting Control Panel Options

There are three panels from which you can set various options within the Java Plug-in Control Panel. These panels are labeled:

Basic
Advanced
Proxies

Basic Panel

Use the Basic panel to set the following options:
Enable Java Plug-in
Enables Java Plug-in to run applets or JavaBeans components. If this option is left unchecked, Java Plug-in does not run any applets. The default setting is with the Plug-in enabled (checked).
Show Java Console
Displays the Java Console while running applets or JavaBeans components. The console displays messages printed by System.out and System.err objects. It is useful for debugging problems. The default setting is not to show the Java Console (unchecked).
Cache JARs in memory
If this option is checked, the applet classes already loaded will be cached and reused when applet is reloaded. This allows much more efficient memory use. You should leave this option unchecked if you are debugging an applet or are always interested in loading the latest applet classes. The default setting is to cache JARs in memory. Warning: turning off this option makes it more likely that you will get OutOfMemoryErrors, as this reduces sharing of memory.
Network Access
Sets the network access allowance you want to grant your running applets. This option is enabled only if you are running agains a JDK 1.1. In Java 2 SDK, Standard Edition v 1.2.2, you need to use the new security architecture to enable the same behaviour. By default, applets can only connect back to their original server (Network Access = Applet Host). You can give applets one of two following network access allowances:
You can restrict an applet's network access so the applet cannot make any network calls.
You can grant an applet unrestricted access to the network. With unrestricted access to the network, an applet can connect to any host server. Keep in mind that it is a security hazard to grant unrestricted network access to applets.
Java Run Time Parameters
Overrides the Java Plug-in default startup parameters by specifying custom options. The syntax is the same as the parameters to the java.exe command line invocation. Please refer to the JDK 1.1 documentation on how to specify the command line parameters when invoking the java command.

Advanced Panel

Use the Advanced panel to set the following options:
Java Run Time Environment
Enables Java Plug-in to run with any JRE or Java 2 SDK, Standard Edition v 1.2.2 installed on your machine. Java Plug-in 1.2.2 is delivered with a default JRE (currently the JRE 1.2.2). However, you can override this default JRE and use an older or newer version. The Control Panel automatically detects all versions of the Java 2 SDK or JRE installed on the machine. It displays all installed Java 2 SDK or JRE versions from which you can choose within a list box. The first item in the list will always be to use the Java Plug-in default and the last item will always be Other. If you choose Other, you must specify the path to the JRE or Java 2 SDK, Standard Edition v 1.2.2. We recommend that only advanced users change this option.

The Java Plug-in 1.2.2 supports the JRE 1.1.7 and 1.2.2 releases. When JDK 1.1.7 is installed on the machine, it will appear in the list box. Select it if you wish to use JDK 1.1.7 with Java Plug-in 1.2.2. Please note that only limited integration work with JDK 1.1.7 has been done. All features might not be available.

Enable JIT Compiler (Win32 platforms only)
Enables the JIT compiler. If you do want to enable the compiler, you will also have to specify the path to the JIT compiler. The JIT compiler must be located in the bin directory for the JRE or JDK selected for the runtime environment.
Enable Debug (IE only)
Enables the debugging environment only if you are using IE and you have the JDK installed. Check this box to enable debugging and specify the debug port. When you run the debugger inside IE, a window will pop up with the debugger password.

Proxies Panel

Use the Proxies panel to use the browser default settings or to override the proxy address and port for the different protocols.
Use browser settings
Uses the browser default proxy settings. You can override the default settings by unchecking the browser settings check box, then completing the proxy information beneath the check box. You can enter the proxy address and port for each of the supported protocols: HTTP, FTP, and Gopher.

If you want to override the proxy settings and you use the same address and port for all three protocols, then enter the address and port once and check the "Same proxy server for all protocols" box.

Certificates Panel

Use the Certificates panel to view or remove installed certificates that are trusted by Java Plug-in. For more information see Deploying RSA Signed Applets in Java Plug-in.