This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ShowJavaConsole

ShowJavaConsole[]
displays the Java console window and begins capturing output sent to the Java System.out and System.err streams.
ShowJavaConsole["stdout"]
captures only System.out.
ShowJavaConsole["stederr"]
captures only System.err.
  • To use ShowJavaConsole, you first need to load J/Link using Needs["JLink`"].
  • Anything written to these streams before ShowJavaConsole is first called will not appear, but subsequent output will be captured even if the window is closed and reopened.
  • Only the most recent 1000 lines of output are displayed.