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