This is the mail archive of the java-prs@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcj/350: Only one result with Helloworld program under cygwin and W98



>Number:         350
>Category:       gcj
>Synopsis:       Only one result with Helloworld program under cygwin and W98
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 19 13:16:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     cormier@u-picardie.fr
>Release:        unknown-1.0
>Organization:
>Environment:
W98, cygwin and gcj
>Description:
Loading last version of Cygwin on W98
Loading all http://www.cs.bris.ac.uk/~jb7216/libgcj/

standard@OEMCOMPUTER ~
$ cat Hello.java
public class Hello{
        public static void main(String[] args){
                System.out.println("Hello \n");
        }
}

standard@OEMCOMPUTER ~
$ gcj --main=Hello  -o Hello Hello.java

standard@OEMCOMPUTER ~
$ ./hello
// Nothing is printed !!!!!!!!!!!!!!!!!!!!

In fact the program runs ONLY ONCE after booting PC and running cygwin, with or without others commands before :

Boot PC
Run cygwin
./hello
hello
./hello
// Nothing is printed
./hello
// Nothing always

Boot PC
Run cygwin
ls
Hello.exe    Hello.java~  bonjour.c~   cygwin1.dll
Hello.java   bonjour.c    bonjour.exe  strace.txt
./hello
hello
./hello
// Nothing always
.
I have the same result with another PC (a laptop). 
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]