I've embedded jre files to my applications setup, i can use java.exe to perform some java specific tasks.
And i want to use jarsigner.exe but when i launch jarsigner, it checks some registry keys, and could not found (because jre is not insatalled by jre setup) them and gives error.
How can i specify java.exe path to jarsigner
so that it should use java.exe that i point instead of checking registry.
error log:
Error opening registry key 'Software\JavaSoft\Java Runtime Environment
Error: could not find java.dll
Error: could not find Java SE Runtime Environment
I wonder are there any extra parameters for jarsigner may be that defines JAVA_HOME dir, or anything else that defines where java.exe is exists.