HOWTO: Redirect Output from jview or wjview.Last reviewed: January 29, 1998Article ID: Q179021 |
The information in this article applies to:
SUMMARYThis article describes two methods that can redirect output from jview or wjview.
MORE INFORMATION
Method 1Unfortunately, there is not an option or registry setting for jview or wjview that enables Java logging. However, you can redirect the output when invoking an application like the following example:
jview main > javalog.txtThis works for both jview and wjview.
Method 2Or you can programmatically direct the output to a file or pipe by reassigning System.out. The following steps, which work for jview or wjview and Internet Explorer, show how this can be done:
NOTE: Javalog.txt is normally found in your Windows directory at %WINDIR%\JAVA\javalog.txt. The ability to alter the value of System.out and other system streams may be removed or changed in the future.
REFERENCESFor additional information, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q177177 173469 TITLE : HOWTO: Enabling Messages Printed Using System.out.println ARTICLE-ID: Q173469 TITLE : How to Enable the Javalog.txt FileFor 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/(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Carl Frisk, Microsoft Corporation
Keywords : JMisc Technology : kbInetDev internet Version : WINDOWS:1.0,1.1,1.5,1.51,2.0,2.01 Platform : WINDOWS Issue type : kbhowto |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |