1 Kommentar

Portable Firefox and Java Applets – English Translation

I thought, man translate the portable Firefox article because this is your most clicked article on blog. So I hope you are understanding me and I could help you with this article. The problem was an Java applet in the portable Firefox. Klick for reading more…

Portable Firefox is really a great thing, put it on your stick and surf everywhere you are. In our company we deployed the Firefox on all computers (> 6000). Now enough with the pre-story. I wanted to use an Java-Applet in this portable Firefox, because the prerequisites of the software said IE6 wouldn’t be a good choice. All OK, on my computer (Firefox was locally installed and as Local Admin) everything worked fine. But when I tried to start the Java applet on a standard workstation (only portable Firefox was installed and Standarduser) the Java applet did not work. But the funny thing is, that everything worked as admin. After searching and searching, contact the support of the company and on on … I found something on Google that was really discusting. A little registry key (the value can be set what you want ;-)) causes this problem. If you import the key on a computer which had never seen a local Firefox the Java-Applet works.

The issue is wrote down on: Click me. The issue-text writes the following: The Java plugin may not work if HKLM\Software\\Mozilla\CurrentVersion is missing or inaccessible. So that exactly made my day… 😉 The key is now imported in the deployment with Firefox and everything is fine.

No big deal, but big troubles to getting it.

Did i help you? Let me know in comments, thank you!

1 Kommentar

  1. Firefox (both installed version and portable version) may use the environment variable „MOZ_PLUGIN_PATH“ to search for plugins, so you can:
    1) create a new environment variable in your OS using the above-mentioned name and put as value [current plugins folder];[portable java plugins folder]
    2) simply create a batch file (.BAT file), using the „set“ DOS command to set the above-mentioned environment variable in the same format:
    set moz_plugin_path=[current plugins folder];[portable java plugins folder]
    and then insert a new line to run Firefox.
    3) using the .INI file of the portable firefox version to include the plugins folder of Portable Java.

    The [current plugins folder] is the current folder of Firefox Plugins. If you don’t know where it is, open firefox, go to Plugins page, search for „default plugin“, you can read the full path where the default firefox plugin is placed.
    The [portable java plugins folder] is the current folder of plugins used by portable java. It is placed in „Java\bin\new_plugin“ folder (Java is the root folder where Portable Java has been installed). If you still have problem, search for file „npjp2.dll“, and take note of the related folder where it is placed.

    To check if one of the above-mentioned procedure has gone well, open Firefox and you should have two new items inside Plugins page:
    „Java Deployment Toolkit“ and „Java Platform SE“.

    Hope this may be useful for all of you.

    P.S. If you use the procedure 1, you must logoff Windows and logon Windows again in order to let Windows load the new environment variable.

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.