If I use JExpress' Exec. runCommand (String command) method in a custom panel, I get an exception error.

We recommend that you use either Exec.runCommand(String, File) or Exec.runCommand(String, String) to avoid this challenge. If the command can be executed from the current directory, then the second parameter can simply be ".".
Work around
Applies to
2.0 or later
runCommand, executing a command, running a command

All information is provided "as is", without warranty of any kind, and subject to change. DeNova uses its best efforts to provide complete and accurate information. DeNova disclaims all warranties, either explicit or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall DeNova or its suppliers be liable for any damages whatsoever, including direct, indirect, incidental, consequential, loss of business profits or special damages, even if DeNova or its suppliers have been advised of the possibility of such damages.