日期:2014-05-17  浏览次数:20725 次

windows版的eclipse的console限制了一行最大长度
   for (int i = 0; i <1400; i++) {
            System.out.print(i);
        }

你会发现什么也输出不了,
windows版的eclipse的console限制了一行最大长度,

解决方法:
Right click on in console -> Preferences... -> check Fixed width console. Now you have auto word wrap and everything shows ok. Seems like Eclipse console have a limit on number of characters displayed in one line.