Look at post #13 in that same thread. You should do something like:
shl.Initialize("shl", "java.exe" , ArrayAsString("-jar", "Server_report.jar",name))
The idea is to run java.exe with the "-jar" parameter, followed by your app name (ending in ".jar") and its parameter (if any).