From owner-freebsd-java Fri Mar 10 20:49:59 2000 Delivered-To: freebsd-java@freebsd.org Received: from lab12.ie.pitt.edu (lab12.ie.pitt.edu [136.142.89.102]) by hub.freebsd.org (Postfix) with ESMTP id AED0637B63E for ; Fri, 10 Mar 2000 20:49:56 -0800 (PST) (envelope-from grafe@lab12.ie.pitt.edu) Received: (from grafe@localhost) by lab12.ie.pitt.edu (8.9.3+Sun/8.9.3) id XAA22087 for freebsd-java@freebsd.org; Fri, 10 Mar 2000 23:49:32 -0500 (EST) Date: Fri, 10 Mar 2000 23:49:32 -0500 (EST) Message-Id: <200003110449.XAA22087@lab12.ie.pitt.edu> 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 ... Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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