Simon's answer seems to be the best but a bit outdated now. Have googled this Oracle doc Installed extensions .
As of Java 6, extension JAR files may also be placed in a location that is independent of any particular JRE, so that extensions can be shared by all JREs that are installed on a system.
It says that for Windows you should place your extensions here %SystemRoot%\Sun\Java\lib\ext .