ExecWait "java.exe ....."
When I user ExecWait "$JAVA_HOME\bin\java.exe -jar sample.jar",
it will continue to pop command window although each time sample.jar normally finishes running, hence the installer will stay here to pop and close.
Any suggestions?