jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes console class is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "console class is not working" Watch "console class is not working" New topic

console class is not working

raghu ramn

Joined: Feb 20, 2011
Posts: 2

Tom Reilly

Joined: Jun 01, 2010
Posts: 618
Are you running your application from an IDE? From the documention
System.console will only exist If the virtual machine is started from an interactive command line without redirecting the standard input and output streams
This means that System.console will not exist when your application is started by another process, which typical IDEs do.
I agree. Here's the link: http://aspose.com/file-tools
subject: console class is not working
It's not a secret anymore!