Jack Howarth wrote: > Matthias, > My mistake. I see the same issue with gcc-4.2.2 on darwin > which is indeed resolved with --main=testme. I am puzzled why > this isn't automatically handled (as it seems to be with > javac)?
It's isn't automatically handled, you have to provide it at runtime: java testme Andrew.