At 03:13 PM 8/7/00 -0700, you wrote: 
>>>>
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      


I assume you are using the JDE's interface to jdb. If so, the problem is
not the JDE but jdb. jdb does not support command-line input to an
application. You must use JDEbug if you wish to enter command line input to
your application.

- Paul


------------------------------------------------------------
TECH SUPPORT POLICY

I respond only to requests that contain a complete problem report. The
easiest way to ensure that your report is complete is to include the output
of the JDE->Help->Submit Problem Report command in your request. 

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

JDE website: http://sunsite.auc.dk/jde/

JDE mailing list archive: 
http://www.mail-archive.com/[email protected]/maillist.html



Reply via email to