That should work. You may need to specify a 'Start in' path of the location of the .bat file (since no path is specified for the .jar file in the batch file). If that doesn't help, I would suspect some sort of problem with an environment variable needed by java (launching VBP from the same Explorer where the batch file works should cause VBP to inherit the same environment block). You could also call java directly from a Run Program action (since the batch file contains only one command other than a pause statement, which you probably don't want in an automated build anyway).
|