How class loading is done by using -Xbootclasspath/p:path?

NEO picture NEO · Nov 24, 2013 · Viewed 33.4k times · Source

I've seen -Xbootclasspath/p:path being used for loading class dynamically can you please elaborate and explain by providing example.

Answer

user3020494 picture user3020494 · Nov 24, 2013

go to your command line and type java -X, to see the options available, -Xbootclasspath followed by path to comma seperated lists of jar files specified to prepend these classes before the standard jre classes. A use would be if you want to add patches affecting core runtime libraries.