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();
}
Works perfectly in eclipse but when I run through konsole msg is not printed.
Thanks in advance