Eclipse的控制台无信息输出

Eclipse的控制台无信息输出,总是提示:No Consoles to display at this time,急
public class Test {
public static void main(String[] args) {
System.out.println("5757");
}

上面的代码,Eclipse的控制台不输出5757,总是提示:No Consoles to display at this time。

解决方法    

Run->Run... ->在左边的Java Application,选择一个(如果没有按右键新建一个)
    然后在右边选择Common tab选项,在Standard Input and Output中选中 Allocate Console

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章