Microsoft SDK for Java

Q177177 HOWTO: Enabling Messages Printed Using System.out.printIn

The information in this article applies to:

SUMMARY

When running Java applets, it may be useful for you to see messages that are printed using System.out.println. In Internet Explorer 3.x and 4.x, output through the System.out stream is stored in a file on the client hard-drive. In Internet Explorer 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 Internet Explorer 4.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 Internet Explorer 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 Internet Explorer 4.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 Microsoft® Visual J++® and the SDK for Java, please see the following pages on the Microsoft Technical Support site:

http://support.microsoft.com/support/visualj/ This link takes you to a site on microsoft.com

http://support.microsoft.com/support/java/ This link takes you to a site on microsoft.com

© 1999 Microsoft Corporation. All rights reserved. Terms of use.