Article ID: 252021 - View products that this article applies to.
This article was previously published under Q252021
This article describes how to redirect output from Java code. This procedure differs whether you are trying to redirect output for an applet or an application.
NOTE: The ability to alter the value of System.out and other system streams may be removed or changed in the future.
How to Redirect Output for an AppletYou can enable Java logging for applets in Microsoft Internet Explorer. All output that is sent to System.out or System.err is written to a file named Javalog.txt, which is found in the C:\<windir>\Java folder (where <windir> represents your operating system).
To enable Java logging in Internet Explorer, follow these steps:
How to Redirect Output for an ApplicationTo redirect output for Java applications, perform one of the following steps:
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:
Article ID: 252021 - Last Review: June 14, 2006 - Revision: 2.0
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Contact us for more help