December 13, 2007

Running the latest Oracle JInitiator

Here’s a really simple method for using running the latest version of the Oracle JInitiator even though your application may require a specific version. DISCLAIMER: This is most likely unsupported by Oracle but it thus far it’s worked for me. If you’re worried about your applications breaking don’t implement this hack.

You can download the latest version of the JInitiator from the JInitiator Download Page. In this case I’ve used version and modified the client to call this version when it actually required version

Getting this to work requires adding the CLSID (or CLASSID) of the older version of JInitiator and modifying it to point to the installed version. You can find the CLSID of each JInitiator version on the download page. Here’s an example of a REG file with the required registry entries, pointing to

Windows Registry Editor Version 5.00


@="C:\\Program Files\\Oracle\\JInitiator\\bin\\npjinit13128.dll"







This shows the CLSID (the GUID between the {} brackets) for JInitiator and as you can see, the default value for the InprocServer32 is where the “magic” happens.

Secondly you may also want to add another registry value that fools the JRE into seeing version as well. This command will add the correct registry entry for you.

REG ADD HKLM\SOFTWARE\Oracle\JInitiator\ /v JavaHome /d "C:\Program Files\Oracle\JInitiator" /t REG_SZ

You will then see each version listed in the JInitiator Control Panel applet:


This is pretty much the same approach you can use with the Sun JRE to fool applications into seeing older versions, allowing to install only the latest (and greatest?).

Print Friendly