Creating a console in Java
Posted
by DeadMG
on Stack Overflow
See other posts from Stack Overflow
or by DeadMG
Published on 2010-04-27T16:39:28Z
Indexed on
2010/04/27
16:53 UTC
Read the original article
Hit count: 282
When I try to use java.lang.System.console(), I get a null pointer. I can still write to out and read from in, but this only works when I run straight from my IDE. When I run the .jar file directly, nothing happens. How can I create a console like I'd see using std::cout for use in Java?
© Stack Overflow or respective owner