문제

I want to use jarsigner.exe on a machine where I don't have JDK installed or JAVA_HOME set.

We are using installanywhere to install our product and inside that we have bundled JRE. JRE doesn't have jarsigner.exe. I tried to included jarsigner.exe inside jre and tried to use it but it's not working.

With regards, Avinash Nigam

도움이 되었습니까?

해결책

To make jarsigner work with JRE instead of JDK. Need to bundle these files in JRE from JDK

  1. From \bin\jarsigner.exe to \bin\jarsigner.exe
  2. From \bin\msvcr100.dll to \bin\msvcr100.dll
  3. From \bin\jli.dll to \bin\jli.dll
  4. From \lib\tool.jar to \lib\tool.jar

I tested with this and found it working for me.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top