Archive: Jar is not running inside the JRE folder?


Jar is not running inside the JRE folder?
I have installed JRE in this path C:\program files\java\jre.
I have took jre path using registry.I have placed my jar in <jre_Home>\lib\security folder.
If execute following jar command its not working.
ExecWait 'java -jar "$Copy_Jar\my.jar" "parameters"'

Is there any security issue while running inside jre folder?


I am not sure what are you trying to do but use full path to java.exe with ExecWait:
ExecWait 'path_tojava\java.exe ...