Date: Fri, 10 Mar 2000 23:49:32 -0500 (EST) From: grafe@lab12.ie.pitt.edu (Gary Rafe) To: freebsd-java@freebsd.org Subject: Q: trouble with linux-jdk1.2pre-v2 on 3.3-R reading System.in ... Message-ID: <200003110449.XAA22087@lab12.ie.pitt.edu>
next in thread | raw e-mail | index | archive | help
After seeing comments suggesting the usability of the blackdown.org jdk1.2pre-v2 port on FreeBSD 3.3-RELEASE systems, we pulled it down & gave it a try. The AWT & Swing demos seem to run quite well (except for the font complaints). We're finding, however, that the readLine() method of BufferedReader doesn't fetch anything from stdin (i.e., the keyboard) and "hangs", while the native FreeBSD JDK1.1.8 port works as advertised: BufferedReader stdin = new BufferedReader( new InputStreamReader(System.in)); String inbuf; ... while ((inbuf = stdin.readLine()) != null) { System.out.println(inbuf); } Can anyone comment on this behavior ? -- Gary Rafe gerst4@pitt.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003110449.XAA22087>