Gopakumar N G
Gopakumar N G

Reputation: 1843

Change default .keystore location

How to make JVM search for .keystore file in user specified location instead of deafult location (user's home directory)?

Upvotes: 1

Views: 7577

Answers (2)

rxg
rxg

Reputation: 3982

Since you're doing an ant build you should just parameterise the SignJar task by setting the keystore parameter.

http://ant.apache.org/manual/Tasks/signjar.html

Upvotes: 1

Evgeniy Dorofeev
Evgeniy Dorofeev

Reputation: 135992

If you are talking about SSL then

-Djavax.net.ssl.trustStore=path

Upvotes: 3

Related Questions