ShowJavaConsole

ShowJavaConsole[]
displays the Java console window and begins capturing output sent to the Java and streams.

ShowJavaConsole["stdout"]
captures only .

ShowJavaConsole["stederr"]
captures only .

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.
New to Mathematica? Find your learning path »
Have a question? Ask support »