Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using alternative of Library loaded by Java Bootstrap class loader

Tags:

java

classpath

I need use the both jars local_policy.jar and US_export_policy.jar with unlimited key size strength. The JRE comes bundled with versions of the jars, with limited key size strength. But I can't replace the original jars in the $JAVA_HOME/lib/security (insufficient rights), so i need them to override (at runtime?) somehow.

Any ideas?

like image 385
Ben Avatar asked Feb 18 '26 17:02

Ben


1 Answers

It would appear that you can override the bootstrap classpath with the -Xbootclasspath JVM argument. See the 'Non-standard options' section of this page for more info.

like image 145
Jared Russell Avatar answered Feb 20 '26 05:02

Jared Russell



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!