How to execute jarsigner with specific JRE











up vote
0
down vote

favorite












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?










share|improve this question






















  • 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 at 12:38












  • I want to run jarsigner with the configuration from my JRE 8 (note: there is no JRE 11).
    – D.R.
    Nov 7 at 12:53










  • 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 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 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 at 13:15















up vote
0
down vote

favorite












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?










share|improve this question






















  • 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 at 12:38












  • I want to run jarsigner with the configuration from my JRE 8 (note: there is no JRE 11).
    – D.R.
    Nov 7 at 12:53










  • 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 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 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 at 13:15













up vote
0
down vote

favorite









up vote
0
down vote

favorite











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?










share|improve this question













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?







java






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 7 at 10:00









D.R.

9,0781247115




9,0781247115












  • 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 at 12:38












  • I want to run jarsigner with the configuration from my JRE 8 (note: there is no JRE 11).
    – D.R.
    Nov 7 at 12:53










  • 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 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 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 at 13:15


















  • 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 at 12:38












  • I want to run jarsigner with the configuration from my JRE 8 (note: there is no JRE 11).
    – D.R.
    Nov 7 at 12:53










  • 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 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 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 at 13:15
















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 at 12:38






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 at 12:38














I want to run jarsigner with the configuration from my JRE 8 (note: there is no JRE 11).
– D.R.
Nov 7 at 12:53




I want to run jarsigner with the configuration from my JRE 8 (note: there is no JRE 11).
– D.R.
Nov 7 at 12:53












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 at 13:10




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 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 at 13:15




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 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 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 at 13:15

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53187176%2fhow-to-execute-jarsigner-with-specific-jre%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53187176%2fhow-to-execute-jarsigner-with-specific-jre%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini