If below type error occur:
Java and cmd "Could not find or load main class"
-bash: ./xxx.sh: /bin/sh^M: bad interpreter: No such file or direct
>>Format the xxx.sh from unix.
>>
: set fileformat=unix
More info:
http://lanvu.wordpress.com/2012/01/06/linux-shell-scripting-bad-interpreter-no-such-file-or-directory/
No comments:
Post a Comment