JLink`
JLink`

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.

Details

  • 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.
Wolfram Research (2007), ShowJavaConsole, Wolfram Language function, https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html.

Text

Wolfram Research (2007), ShowJavaConsole, Wolfram Language function, https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html.

BibTeX

@misc{reference.wolfram_2021_showjavaconsole, author="Wolfram Research", title="{ShowJavaConsole}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html}", note=[Accessed: 16-October-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_showjavaconsole, organization={Wolfram Research}, title={ShowJavaConsole}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html}, note=[Accessed: 16-October-2021 ]}

CMS

Wolfram Language. 2007. "ShowJavaConsole." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html.

APA

Wolfram Language. (2007). ShowJavaConsole. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html