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?
java
add a comment |
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?
java
Why do you think thatjarsigner.exe
usesjava.exe
? If you need to runjarsigner
version 8 you have to install JDK 8. If you just want to use the security provider's resources runjarsigner -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 linkjarsigner.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
add a comment |
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?
java
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
java
asked Nov 7 at 10:00
D.R.
9,0781247115
9,0781247115
Why do you think thatjarsigner.exe
usesjava.exe
? If you need to runjarsigner
version 8 you have to install JDK 8. If you just want to use the security provider's resources runjarsigner -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 linkjarsigner.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
add a comment |
Why do you think thatjarsigner.exe
usesjava.exe
? If you need to runjarsigner
version 8 you have to install JDK 8. If you just want to use the security provider's resources runjarsigner -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 linkjarsigner.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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Why do you think that
jarsigner.exe
usesjava.exe
? If you need to runjarsigner
version 8 you have to install JDK 8. If you just want to use the security provider's resources runjarsigner -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 linkjarsigner.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