eclipse老是自动跳转控制台

解决办法:

windows  ->   preferences   ->  run/debug   ->   console

“Show when program writest to standard out”----------当程序有在标准输出时就跳出console

“Show when program writes to standard error"---------当程序有错误抛出时就跳出console

去掉“Show when program writest to standard out”勾选就可以了。“Show when program writes to standard error"建议保留。

如下:

原文地址:https://www.cnblogs.com/gwxppg/p/11423467.html