HOWTO: Enabling Messages That Are Printed Using System.out.println

ID: Q177177


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 Visual J++ and the SDK for Java, please see the following pages on the Microsoft Technical Support site:

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

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

Additional query words:


Keywords          : kbGenInfo kbSDKJava300 kbVJ kbSDKJava310 JVM kbSDKJava320 
Version           : WINDOWS:1.51,2.0,2.01,3.01,3.02,3.0,3.1,,3.2,4.0,4.01,4.01sp1
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: July 13, 1999