I have jar file which I want to run from windows scheduler in windows 7

I have Given the path of java.exe in path/script and -jar c:\abc\ab.jar in the arguments field.

But it does not run. I have also tried it with help of a bat file, but it does not run. What is needed to be done to run the jar file?

My jar file creates files and updates a database.

Edit
Report