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.

DetailsDetails

  • 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.