HOWTO: Enabling Messages Printed Using System.out.printIn

Last reviewed: January 29, 1998
Article ID: Q177177
The information in this article applies to:
  • SDK for Java, versions 1.51, 2.0, 2.01
  • Microsoft Internet Explorer (Programming), versions 3.01, 3.02, 4.0, 4.01

SUMMARY

When running Java applets, it may be useful for you to see messages that are printed using System.out.println. In Internet Explorer (IE) 3.x and 4.x, output through the System.out stream is stored in a file on the client hard-drive. In IE 4.01 you can also view this output in the Java console.

MORE INFORMATION

You need to enable Java logging in Internet Explorer. A Javalog.txt file will be created in your %Windir%\java directory. This log file will contain all information that is sent to the System.out stream. To enable Java logging select Options (or "Internet Options" if using IE4.x) from the View menu. Then click the Advanced tab and Enable Java logging (or "Java logging enabled" if using IE4.x).

To enable the Java console in IE 4.01 select Internet Options from the View menu. Then click the Advanced tab and check "Java Console Enabled (requires Restart)". Restart your computer. The next time you start IE4.01, you can view the Java console by selecting Java Console from the View menu.

REFERENCES

For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:

   http://support.microsoft.com/support/visualj/
   http://support.microsoft.com/support/java/

Keywords          : JVM VJGenIss
Technology        : kbInetDev
Version           : WINDOWS:1.51,2.0,2.01,3.01,3.02,4.0,4.01
Platform          : WINDOWS
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 29, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.