Hi,
 
How does jde allow command line input to be entered? I have a simple test program,
 

import java.io.*;
 

public class ReadCLI {
 
  public static void main(String[] args) {
 
    BufferedReader in;
 
    try {
      in = new BufferedReader(new InputStreamReader(System.in));
 
      String str;
 
      System.out.print("Enter input:");
      str = in.readLine();
      System.out.println("You entered:" + str);
    }
    catch (IOException e) {
      System.out.println("Error:" + e.getMessage());
    } 
  }
}
 
In jde, as you can see from the interaction below, it interprets the input data as commands to jde. Is there some variable to be set or anything? I did not see anything on this in FAQ.
 
Stopped at line 16 in ReadCLI.java
main[1] next
main[1] Enter input:
Stopped at line 17 in ReadCLI.java
main[1] hohohaofd
huh? Try help...
main[1]
 
 
 
Thanks
Aspi
 
 
 
 
 

Reply via email to