The information in this article applies to:
SUMMARYThis article describes two methods that can redirect output from jview or wjview. MORE INFORMATIONMethod 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:
This 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: Q177177 HOWTO: Enabling Messages Printed Using System.out.println Q173469 How to Enable the Javalog.txt FileFor 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/ © Microsoft Corporation 1999, All Rights Reserved. Additional query words:
Keywords : kbSDKJava300 kbSDKJava310 JMisc kbSDKJava320 kbSDKJavaFAQ |
Last Reviewed: November 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |