When you read from the standard input in Eclipse, where does that input come from?
Asked
Active
Viewed 5,847 times
3 Answers
6
It's in the same window as the standard console output, but you have to actually type something.
![](../../users/profiles/139010.webp)
Matt Ball
- 332,322
- 92
- 617
- 683
-
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
3
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
![](../../users/profiles/1357094.webp)
cellepo
- 2,827
- 2
- 31
- 46
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