Changing the java.ext.dirs Property
By Sharon Zakhour on Sep 02, 2008
extpath using an environment variable. Something along the lines of:
No, there is no environment variable, but there is the
java.ext.dirs system property. For example:
java -Djava.ext.dirs=/foo/bar/baz:/bleem/grumpf MyAppSee the Extension Mechanism Architecture spec and search for "java.ext.dirs" and you can read a bit more. In particular, note that the path separator (':' above) is platform dependent, so it would be a semi colon on Windows.
Thanks to Maxim Vexler for asking the question and especially to Dave Bristor in software for answering it. :-)
-- Sharon Zakhour