RE: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-08 Thread Bruce Adams
>-Original Message- >From: Lapo Luchini [mailto:[EMAIL PROTECTED]] >Sent: 07 January 2003 09:51 >To: [EMAIL PROTECTED] >Subject: Re: Java (1 of 3): Gcj - Hello world exe (again) > >I don't think the version number matters, my fair guess is >that for some

Re: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-07 Thread Lapo Luchini
Bruce Adams wrote: C:\BruceA\java>gcj --version gcj (GCC) 3.2 20020818 (prerelease) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Why does yo

RE: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-07 Thread Bruce Adams
>-Original Message- >From: Lapo Luchini [mailto:[EMAIL PROTECTED]] >Sent: 06 January 2003 11:11 >To: [EMAIL PROTECTED] >Subject: Re: Java (1 of 3): Gcj - Hello world exe (again) > > >Bruce Adams wrote: > >>Hello.java(note: case is important in this

Re: Java (1 of 3): Gcj - Hello world exe (again)

2003-01-06 Thread Lapo Luchini
Bruce Adams wrote: Hello.java(note: case is important in this filename) == class Hello { public Hello() {}; public static void main(String args[]) { int returnCode = 0; System.out.println("hello world\r\n"); System.exit(returnCode); } } lapo@CYBERONE

Java (1 of 3): Gcj - Hello world exe (again)

2003-01-06 Thread Bruce Adams
Hi, This ought to be in the FAQ but I couldn't find it. I can't seem to get a hello world program to work as an executable though it works fine with the JVM. I've seen this asked before but not the answer. See code below. Hello.java(note: case is important in this filename) ==