cat > Test0.java << EOF
class Test0 {
static int foo { return 0; }
}
EOF


I don't believe this is valid Java source, because of missing parentheses. It should be:
...
static int foo () { return 0; }
...


What error message do you get with the various compilers?

Daniel





Reply via email to