Eclipseコンソールから日本語を入力し認識しない

eclipse.iniに以下を加える。

-Dfile.encoding=utf-8

また、Javaソースコードには、

Scanner stdIn = new Scanner(System.in, "UTF-8");

でできる。