Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

We're using a 3rd-party Java security provider which is correctly installed for the JRE 8 on the system I work on. Now I want to use the jarsigner tool from the JDK 11 on my system to work with this 3rd-party Java security provider. How to tell jarsigner that it should execute using my installed JRE and not using the java.exe in the JDK folder?

Why do you think that jarsigner.exe uses java.exe ? If you need to run jarsigner version 8 you have to install JDK 8. If you just want to use the security provider's resources run jarsigner -providerClass [provider-class-name] Würgspaß Nov 7, 2018 at 12:38 jarsigner is a separate executable which is part of JDK but not part of JRE. As far as I know, there is no way (and also no need ) to link jarsigner.exe with a specific JRE. You can run it idependently. What exactly do you mean by configuration from my JRE 8 ? What is the exact problem that you are facing? Würgspaß Nov 7, 2018 at 13:10 I've created a new issue for the exact problem: stackoverflow.com/questions/53188671/… Note: keytool from the JRE works, as the JRE is configured correctly (java.security file + files in lib/ext folder). keytool/jarsigner from JDK do not work correctly - because the configuration is missing from whatever kind of JRE they are using. D.R. Nov 7, 2018 at 13:15 BTW: I'm pretty sure that jarsigner.exe is a simple wrapper executable which calls into a java application. D.R. Nov 7, 2018 at 13:15

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .