Java 1.4.2_05 & Mozilla UserAgent
843798Aug 20 2004 — edited Aug 22 2004Hello:
I hope I'm in the right group for this. If not could you direct me where I should go.
I'm using Mozilla 1.7.2, Java 1.4.2_05 on Win98. My current UserAgent says this: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040803 MultiZilla/1.6.3.0e
When I read the Moz newsgroups, I've seen some of the Moz Champs mung their UA and I want to mung mine so it will have this: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040803 MultiZilla/1.6.3.0e IE & OE are dead. Long Live Mozilla, the Seamonkey. All Hail the Gecko!
So I asked in one of the Moz NG how do I do it. I was told to use one of two strategies. The first was to make a line in my prefs.js that says this: general.useragent.vendorComment = IE & OE are dead. Long Live Mozilla, the Seamonkey. All Hail the Gecko!
The other is to make a line in my prefs.js with this: general.useragent.override = Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040803 MultiZilla/1.6.3.0e IE & OE are dead. Long Live Mozilla, the Seamonkey. All Hail the Gecko!
Both methods work just fine except for one little problem When I close and restart Moz, Moz would crash upon restart. I would get an error message that Moz has caused an illegal operation in file MSVCRT.DLL. Dr Watson said that Moz caused the Runtime Library to perform an Invalid Memory Access in the MSVCRT.DLL file. I would have to go into the prefs.js file and remove my mung UA. Then Moz would start with no problems.
After some search, I found that it was the Java that was causing the problem. I uninstalled Java 1.4.2_05, and when I restarted Moz, it worked fine (with my munged UA). I reinstalled the Java and Moz crashed, so I had to go into the prefs.js file and manually delete that munged line. I had to go as far back as JavaSoft 1.2.2_012 in order for this to work.
I have a msvcrt.dll file in C:\windows\system and one in the Java bin directory. I tried changing them. Copy the one in the System to Java. No good. Copy the Java to System. No good. Copied the JavaSoft file to System, System to JavaSoft, all to no avail. I tried to download a newer version of it, but I already have the newer version. This is what I have for MSVCRT.DLL:
C:\windows\system: 6.00.8797.0
Java 1.4.2_05: 6.00.8337.0
JavaSoft 1.2.2_012: 6.00.8337.0
Replacement: 6.00.8397.0
Apparently, those who have munged their UA have Win ME and higher, while I have Win98. The person with Win ME is using jre 1.3.1.
I, and the Moz Champs, are stumped and are at a lost as to what I can do next. Would anyone know what I can do next? Any suggestions.
Thanks for your help
Andy