Using an alternative to the library loaded by the Java bootstrap class loader

I need to use both jars local_policy.jar and US_export_policy.jar with unlimited key size strength. JRE comes complete with limited key strength cans. But I can not replace the original banks in $ JAVA_HOME / lib / security (not enough rights), so I need to redefine them (at run time?) Somehow.

Any ideas?

+3
source share
1 answer

It looks like you can override the bootstrap class path with a -XbootclasspathJVM argument . See the "Custom Settings" section on this page for more information .

+1

Source: https://habr.com/ru/post/1725057/


All Articles