It seems like a path issue, or maybe some permission issue.
You can try to put the pull path to java.exe in the line:
javaCommand = "c:\mydir\java -classpath """...
You could also add a line :
MsgBox ("shell end")
Just after the line Shell (javaCommand) to double check that "file not found" is caused by Shell (javaCommand)