Problems running "Hello World" program.....
Jeff Sturm
jeff.sturm@appnet.com
Mon Oct 9 13:44:00 GMT 2000
Tom.Williams@diversifiedsoftware.com wrote:
> $ gcj --main=HelloWorld -o HelloWorld HelloWorld.java
>
> I get no compile errors just the behavior described above.
>
> Any ideas?
1) Do "unset CLASSPATH" before you compile, just in case you have stray classes
lying about (esp. from the JDK).
2) If it still doesn't run, try loading HelloWorld in the debugger to see what
it's doing.
--
Jeff Sturm
jeff.sturm@commerceone.com
More information about the Java
mailing list