@Shwetha1994
Your user should has permission to execute it from command prompt.
Addition to that, in command prompt, check if you can see the jar listed in current directory.If now, try switching to to the right directory within command prompt and execute your command again.
Hope it helps!!