Skip to main content

JRE collisions

7 replies [Last post]
dancerman
Offline
Joined: 2006-02-17
Points: 0

It says on java web site that there should not be collisions with different versions of JRE installed.
I ran into a web page that gave me java plug-in detected
jre collision. how do i solve this issue?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mariooestert
Offline
Joined: 2007-09-05
Points: 0

[b]Finally after two days I got ( Java applet ) working; really crazy one![/b]

[i]Two days of frustration[/i] In the end a really easy Fix but no-one can tell you what is wrong!!
I will place this Helping note in this forum sure this will help someone!!
Original Reference Link: http://forums.java.net/jive/message.jspa?messageID=234129#234129

Search all over Googles to get it fixed no luck! Why not one forum gives this resold too fix this problem??

Tried everything reinstalled [b]JRE 1.4.2[/b] then [b]JRE 1.5.[/b] then [b]JRE1.6.1[/b] nothing worked!
Then I started playing in the Firefox plugin directory removed all plugin's and copied them back one by one thats how I found the bad file creating the whole problem!
All I ended up doing is I removed this file in the Firefox plugin Dir ([b] [u]NPOJI610.dll[/u] [/b]) and all work's FIN now!
([i]Don't know what this file is used for but no problem works and no crash and error anymore!![/i])

[b]Java images working now on my Firefox! [/b]Also the Java test tool ( Test your JVM ) works!

http://java.com/en/download/help/testvm.xml

[b]Resold: [/b]
Your Java configuration is:
Vendor: Sun Microsystems Inc.
Version:[b] 6 update 2[/b]
Operating System: [b]Windows XP SP2[/b]
OS version: 5.1

[b]All the Errors I got before!![/b]

[i]1) FireFox Crash when I load my Web page with instruction Init!
2) [b]Java plug-in detected jre collision[/b]
3) Also the Firefox Browser is prompting to open new Tap!
4) [b]FireFox Error msg:[/b]
The prompt "Applet(s) in this HTML page requires a version of java different from the one the browser is currently
using. In order to run the applet(s) in this HTMLpage, a new browser session is required, press 'Yes'
to start a new browser session" appears but with no 'Yes' button to press.[/i]

[b]Browser Detail:[/b]
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 [b]Firefox/2.0.0.6[/b]

[b]Java Installed up to Date version![/b]

( [b] jdk-6u2-windows-i586-p.exe[/b] ) [b]JRE[/b] is include in this download size= ( [b]67.147 MB[/b] )
[b]Download Link:[/b]

[b]Java SE Downloads[/b]

[b]Installation Resold[/b]= only have this version Installed!
C:\PROGRAM FILES\java\[b]jdk1.6.0_02[/b]
C:\PROGRAM FILES\Java\[b]jre1.6.0_02[/b]
Still got in my Java Dir ( Java Launcher ) & ( Java3D ) installed!
[b]Make sure after installation to clear all the Cache on all browser's and restart your computer!!
Also make sure that java in Preference is activated on your Browsers[/b]

With this combination I got: ([b] IE v6,[/b]) ( [b]Opera v9.23 [/b]) ( [b]Netscape Navigator/9.0b3 [/b]) and [b]Firefox/2.0.0.6[/b] [i]WORKING!
[/i]
[u]
NO MORE ERRORS[/u] and Java code is loading and working now!
[b]Try one of the Samples[/b] this are the web page I had the problem with: Here or Here
if you don't see the banner on top of the page you have Java install or browser problems!

[b]Note:[/b]
[i]Just for Fun I copyed this file [b]NPOJI610.dll[/b] to the Netscape plugin directory and
there we go; I get the exact same problem as I had before with FireFox Java will not working![/i]

[i]Hope this will Help someone with the same problem I had![/i]

Regards;
Mario

Let me know if this worked for you! mario_oestert@yahoo.com

mariooestert
Offline
Joined: 2007-09-05
Points: 0

[b]My final conclusion Firefox 2 runs with jre1.6.0_02
only one Version required I removed all old versions[/b]

[b]Here is the problem![/b]
This are the file details (Java\jre1.6.0_02\bin\ Dir [b]NPOJI610.dll)[/b]
[b]126,976 bytes[/b]--Cre 6/09/2007, 1:50 AM--Mod 12/07/2007, 4:00 AM--Win32--Ver [b]6.0.20.6[/b]

This was the one stuck in my Firefox plugin Dir :[b]( NPOJI610.dll )[/b]
[b]61,557 bytes[/b]--Cre 14/03/2007, 7:42 PM--Mod 28/06/2003, 8:56 AM--Win32--Ver [b]1.4.1.40[/b] This is the one I just removed!

Looks like when you run the JRE upgrade the file does not get replaced Resold= error: [b]Java plug-in detected jre collision[/b]

I just removed [b]( NPOJI610.dll )[/b] works fin; but maybe only needs to be replaced with the new version file located in the c:\......Java\jre1.6.0_02\bin\ Dir

I will try and copy this two new ones [b]( NPOJI610.dll Ver.6.0.20.6 npjpi160_02.dll Ver.6.0.20.6 ) [/b]to the Firefox plugin Dir see what happens; but is not needed I think without the file Firefox search for the active version installed on your system. All other browsers seem to just pick the default version installed on your system!

======================================
I just got it done two option are working I removed all the [b]old version NPJava***.dll files![/b] Firefox applet and Java Works Ok!

Secondly: I copy all the new version files from the \java\jre1.6.0_02\bin\ Dir to Firefox plugin Dir also Works!

12/07/2007 4:00 AM 126,976 A npjava11.dll Ver.6.0.20.6
12/07/2007 4:00 AM 126,976 A npjava12.dll Ver.6.0.20.6
12/07/2007 4:00 AM 126,976 A npjava13.dll Ver.6.0.20.6
12/07/2007 4:00 AM 126,976 A npjava14.dll Ver.6.0.20.6
12/07/2007 4:00 AM 126,976 A npjava32.dll Ver.6.0.20.6
12/07/2007 4:00 AM 132,496 A npjpi160_02.dll Ver.6.0.20.6
12/07/2007 4:00 AM 126,976 A npoji610.dll Ver.6.0.20.6

dnp
Offline
Joined: 2006-05-05
Points: 0

I don't think JRE has this problem when running on IE.
You must have seen this problem on NS/Mozilla, correct?

There is a known issue (JVM collision) with applet that use static versioning of JRE on NS/Mozilla when multiple JREs are installed (refer to bug 4971347).

This problem has been fixed with for Firefox.
We are still working on this issue for NS/Mozilla.
As a temporary workaround for NS/Mozilla, go to /plugins/ and remove all npoji*.dll, npjpi*.dll, and npjava*.dll.

javauser
Offline
Joined: 2003-06-18
Points: 0

I do have IE and I get that message OR IE is kicked out completely.

It is very frustrating. Do I need to delete ALL java versions before adding the new one? This happens on Policeauctions.com. I haven't had the problem otherwise.

Any assistance appreciated.

funchung
Offline
Joined: 2003-06-09
Points: 0

you should not need to delete ALL java versions before adding the new one.

can you please provide the exact steps to reproduce the problem ?

I navigate to the site http://www.policeauctions.com/, but how do I trigger the applet to load ? Do I need a login ?

stephenwilliams
Offline
Joined: 2006-06-13
Points: 0

I get this problem on IE version...

6.0.2900.2180.xpsp_sp2_gdr.061219-0316

On IE7 (7.0.5730.11) I get this problem whilst using an

tag but after changing to an tag the problem dissapears. Using the 6.0 version (above) nothing works.
ccheung
Offline
Joined: 2005-04-06
Points: 0

Although multiple versions of JRE can be installed on the same machine, each browser process only can run one version of JRE. To workaround the problem you'll need to start another browser process to run another applet which requires another different version of JRE. Actually, at the jre collision detection dialog, you should be able to click on "Yes" and another browser process should be invoked to run the applet which requires a different version of JRE assuming the version of JRE is available on the machine.
Can you point me to the web page which mentions "... there should not be collisions with different versions of JRE installed."?