When you read from the standard input in Eclipse, where does that input come from?
Asked
Active
Viewed 6,400 times
3 Answers
6
It's in the same window as the standard console output, but you have to actually type something.

Matt Ball
- 354,903
- 100
- 647
- 710
-
Oh yes! It didn't work in the first time I tried. I found it is because I didn't press "Enter"... Thank you! – Johnny Aug 09 '13 at 02:42
4
Run your program (
right-click project -> 'Run As' -> 'Java Application'
)Click in the 'Console' tab field (
Window -> Open Perspective -> Console
)Type your input arguments, space-separated, and hit 'Enter'. Each line of your input is delimited with 'Enter'-key presses.
3. is where the inputs come from

cellepo
- 4,001
- 2
- 38
- 57
0
If you mean where is the text displayed, the answer is the Console tab. If you do not see this tab upon execution, go to Window -> Open Perspective -> Console.
-
-
In that case, the Console tab. If it is not visible, follow the above instructions @Johnny Tse – Aug 09 '13 at 02:42