Java Security question

Sony Antony <[email protected]> Thu, 5 Jun 2014 14:57:02 -0400
Newsgroups gmane.org.user-groups.ajug.members
Message-ID <CAOJZh9+bbreZSunwxbpuhjv2FusTMDA0WU7Cv04cSihStEGF+g@mail.gmail.com>
Hello :
We have a need to change the default encryption strength.

So we need to apply this patch :
http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

Basically has to overwrite the existing  US_export_policy.jar &
local_policy.jar files in the jre/lib/security folder.

But I dont want to change anything in the default jre/lib/security
directory. ( Because that will introduce  a manual  step in our jre
installation )

I woudl rather save these files to a separate folder and then start
our application with a -D switch that will somehow point to this
folder.
( Something like -Djava.security.policy=.. )

Is there a way to do this ?


--sony