When attempting to launch a StreamBase application, either from Studio or the command line, the following error occurs:
[error] Couldn't exec command: "java.exe" Access is denied
Issue/Introduction
An error, "couldn't exec command 'java.exe'. Acess is denied", is observed when running a StreamBase application
Resolution
This error indicates that the Windows user is restricted from running an executable which launches a child process. In the case of StreamBase 7 and earlier, %STREAMBASE_HOME%/bin64/sbd.exe needs to launch the 'sbd-java.exe' child process. Some anti-virus software will not allow this.
To confirm, open the Windows Event Viewer and look through the recent Application logs. There should be an ERROR level message that corresponds to the failed launch of a StreamBase application.
The resolution is to modify or disable the blocking rule set by your anti-virus software.