Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <387D8413.5615AB29@repas-aeg.de> Date: Thu, 13 Jan 2000 08:51:47 +0100 From: "Dr. Schroeder, Klaus" Organization: repas AEG Software X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5 i586) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Problem with Java and stdout in newest snapshot References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mumit Khan wrote: > On Wed, 12 Jan 2000, Dr. Schroeder, Klaus wrote: > > > But now I'm running into a new problem:As soon, as the jni-dll is loaded > > from my Java-Program, the Java standard output (System.out.println) does > > no longer work. This bug does not appear with the originalB20.1 > > cygwin.dll. > > This is a "tty" issue as far as I can tell. There may be two ways to solve > or work around it: > > - set CYGWIN=notty before starting the shell where you start Java from. > - start it from a windows command shell > > ... > Regards, > Mumit I tried both ways and still the stdout from the Java code doesn't show up after loading the JNI-dll, whereas the stdout from the JNI shows up correctly. Regards, Klaus -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com