Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

java io console support in eclipse ide

java io console support in eclipse ide  using -'java,eclipse,java-io'

I use the Eclipse IDE to develop, compile, and run my Java projects. Today, I'm trying to use the class to manage output and, more importantly, user input.

The problem is that System.Console() returns null when an application is run "through" Eclipse. Eclipse run the program on a background process, rather than a top-level process with the console window we're familiar with.

Is there a way to force Eclipse to run the program as a top level process, or at least create a Console that the JVM will recognize? Otherwise, I'm forced to jar the project up and run on a command-line environment external to Eclipse.


asked Oct 6, 2015 by mannar kande
0 votes

Related Hot Questions

Government Jobs Opening