Invalid Argument and glassfish

I tried to install glassfish on Solaris 10 and it worked fine on other instances. I got the below message

bash-3.00# ./sjsas-9_1_01-solaris-sparc.bin -console
bash: ./sjsas-9_1_01-solaris-sparc.bin: Invalid argument

I logged on as root and the file has execute permission. So strange. Do you have any ideas?

Just a wild guess: try with --console. According to POSIX standards, single letters arguments are prefixed with a single dash while word args are prefixed with --.