Solaris Java Plug-in User's Guide

Appendix A Troubleshooting

This appendix includes the following information:

Common Problems

Following are some common problems that you may encounter when using Java Plug-in for Solaris. For additional information, consult the Java Plug-in FAQ.

Displaying Java Plug-in Tracing Output

You set the JAVA_PLUGIN_TRACE environment variable to display Java instructions as they are executed within an applet. By default, this tracing information appears in Netscape Alert Panels.

To direct the tracing output to your terminal window, see "Directing Tracing Output to a Terminal Window".

Type the command for the appropriate shell.

Table A-1 Displaying Tracing Output
 Shell Command
csh% setenv java_plugin_trace
sh or ksh% java_plugin_trace=""
 % export java_plugin_trace

Directing Tracing Output to a Terminal Window

You can direct tracing output to:

How to Direct Tracing Output to Your Terminal Window
  1. Edit your ~/.Xdefaults file , changing the following lines from True to False.

    *useStderrDialog: False

    *useStdoutDialog: False

  2. Reload resources by typing xrdb -merge .Xdefaults at the prompt.

How to Direct Tracing Output to Each User's Terminal Window
  1. Edit the Netscape resource file /<installation directory>/lib/locale/C/app-defaults/Netscape, changing the following lines from True to False.

    *useStderrDialog: False

    *useStdoutDialog: False

  2. Stop and then restart Netscape.

Displaying Java Plug-in Error Messages

You enable the Show Java Console option on the Java Plug-in Console (see "Basic Tab") to view error messages generated by Java Plug-in. When you visit a Java Plug-in-enabled page and encounter an error, the Java Plug-in Console opens, showing the error output. All output written to the Java System.err or System.out streams is written to the Console window.

Reporting Bugs

To report bugs, contact your Solaris service provider. When reporting a bug, include the following: