How to execute a binary file in solaris?

How to execute a binary file in solaris?

I used ./setup.bin . I got the error ./setup.bin not found.

thats the way to do it.

only if the binary file is in the current directory, which seems not being the case.

What says:

ls -l setup.bin
file setup.bin

You r not in the place where the file is.make sure that you r executing the file in correct directory.

./setup.bin not found

First check the location of the file. If you give as ./filename then it will search in the current DIR. If you want to give as for to the exact location of that file and do the same. Also check the permission of the file.