Eclipse 中没有输出?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10809717/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 18:16:44  来源:igfitidea点击:

No output in Eclipse?

eclipse

提问by Sterling

When trying to run my java project in Eclipse, I can't see the output tab at the bottom. All I can see is Problems, JavaDoc, and Declaration. Shouldn't there be one for Output? And if so, how do I get it?

尝试在 Eclipse 中运行我的 java 项目时,我看不到底部的输出选项卡。我能看到的只有问题、JavaDoc 和声明。不应该有一个输出吗?如果是这样,我如何获得它?

回答by Hanon

Java standard output will show in the console in eclipse. If you cannot find the view, you can show the view by the following steps:

Java 标准输出将显示在 Eclipse 的控制台中。如果找不到视图,可以通过以下步骤显示视图:

Open Window > Show View > Console

打开窗口 > 显示视图 > 控制台

回答by Ahamed Mustafa M

Or else you can use the shortcut Alt+Shift+Qand then C

或者你可以使用快捷方式Alt+Shift+Q然后C

回答by Shankar Damodaran

Sometimes the Console Window may be hiding or dockedbehind the Package Explorerwindow (preferrably) or other windows. MinimizePackage Explorer or all other windows and you will find the console window.

有时控制台窗口可能隐藏或停靠Package Explorer窗口(最好)或其他窗口后面。最小化包资源管理器或所有其他窗口,您将找到控制台窗口。