public static void main(String[] args) throws IOException{
String msg;
BufferedReader userIn = new BufferedReader(new InputStreamReader(System.in));
System.out.println("please type something now:");
msg = userIn.readLine();
System.out.println(msg);
userIn.close();
}
日食で完全に動作しますが、konsole msg を実行すると出力されません。
前もって感謝します