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.

更多信息和选项

  • 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 语言函数,https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html.

文本

Wolfram Research (2007),ShowJavaConsole,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html.

CMS

Wolfram 语言. 2007. "ShowJavaConsole." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html.

APA

Wolfram 语言. (2007). ShowJavaConsole. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_showjavaconsole, organization={Wolfram Research}, title={ShowJavaConsole}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/ShowJavaConsole.html}, note=[Accessed: 18-November-2024 ]}