I have the code:
import java.io.*;
...
public void test() {
...
InputStreamReader inputStream = new InputStreamReader(System.in);
...
}
but eclipse is not allowing the "in" part of the System.in.
When placing the '.' after System, I get offered many alternatives, but not 'in'.
the error message is given in eclipse is: "in cannot be resolved or is not a field".
I've been 'round in circles with it, but cannot see why - anyone have any ideas?
Running Eclipse on Debian Jessie.