cannot execute binary file: Exec format error
Semi-colon in bash is used to separate commands. So in your case
java -cp .;aa/bb/cc/dd/Main.jar aa.bb.cc.dd.Main
java -cp .
and aa/bb/cc/dd/Main.jar aa.bb.cc.dd.Main
are considered as two separate commands and executed in sequence.
The issue can be fixed by changing the ";" to ":".
The path delimiter for java class path is ":" and not ";".