> Some questions:
Sorry for not including all this information in the first place. My
bad.
> - Which browser are you using?
IE 6.0.2800.1106.xpsp2.030422-1633
> - On which OS?
WindowsXP w/SP1
> - Did you have a previous version of Sun's Java installed?
No. I uninstalled all versions of Java after the first time I received the
error I described.
> - What does the command "java -version" print when you run it from the command-line?
c:\>java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
> You could try to set/reassign your browser in the Java Control Panel.
You are talking about the "Java Plug-In" item in my Windows Control
Panel? If so, here's something interesting. When I went to run it, I get
the error
"The system cannot find the registry key specified:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_03"
Likly I'm getting that error because I uninstalled 1.4.2_03. But why wasn't
the control panel entry installed for 1.4.2_03 when I installed it?
> Here's someone with a similar error message (problem apparently was caused by incorrect registry
> settings):
I'll take a look, thanks!
thnx,
Christoph
zoopy - 26 Aug 2004 17:53 GMT
>>Some questions:
>
[quoted text clipped - 22 lines]
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
> Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
That's fine.
[
If it wasn't, an error message like the following could have been printed:
Error opening registry key 'Software\JavaSoft\Java Runtime Environment\1.4'
Error: could not find java.dll
Error: could not find Java 2 Runtime Environment.
]
>>You could try to set/reassign your browser in the Java Control Panel.
>
> You are talking about the "Java Plug-In" item in my Windows Control
> Panel?
Yes
> If so, here's something interesting. When I went to run it, I get
> the error
>
> "The system cannot find the registry key specified:
>
> HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_03"
Yep, that seems a problem with the installation or whith the registry.
Apparently that registry key isn't there any more, from which you could
conclude that uninstall of 1.4.2_03 successfully removed its registry
entries.
> Likly I'm getting that error because I uninstalled 1.4.2_03.
Could be, but I'm also thinking that there still could be a control
panel of version 1.4.2_03 hanging around. The Java control panel is a
file with the name 'jpicpl32.cpl'. Maybe it wasn't removed during the
uninstall ('cause it was in use or locked, or the uninstall process
didn't have sufficient access rights).
The reason why I think that it could be an old version of jpicpl32.cpl,
is that the registry key is "hardcoded" in that file, and therefore you
see the error message above.
On my computer [Win2000], jpicpl32.cpl is located in
C:\WINNT\system32\jpicpl32.cpl (although I have JRE1.5.0b2 installed).
You could do a search for that file in C:\WINNT\* (or is it C:\WINDOWS\
for XP?).
If found, display the properties of the file (right-click/properties),
and check the file version on the "Version" tab. If it displays 1.4.2_03
then you found the culprit.
But it could be very well that the suffix _03 is not there, but only a
number like 1.4.2.0 (that is the case on my computer for the JRE 1.4.2
version I did'nt uninstall, 1.5.0.0 for cpl of my latest JRE). If that
is the case, and you really want to be sure that is the _03 cpl, you
could open the file in a hexviewer (if you have one), or in notepad.
Then search for the string "SOFTWARE\JavaSoft\Java Plug-in\1.4.2_03". If
it's there, then jpicpl32.cpl is the control panel of the previous version.
If you found an old version of jpicpl32.cpl (in WINNT\* or any other
folder), you could delete it (well renaming it to jpicpl32.cpl.old is
safer; I'm not taking responsibility for any problems that any of these
actions may cause ;-) ). Then try to reinstall the _05 version again.
> But why wasn't
> the control panel entry installed for 1.4.2_03 when I installed it?
1.4.2_05 you probably mean
Don't know, but it could be that the jpicpl32.cpl of 1.4.2_03 could not
be overwritten/replaced by the 1.4.2_05 version (again, maybe because it
was in use or locked, or the install process didn't have sufficient
access rights)

Signature
Regards,
Z.
Christoph - 27 Aug 2004 13:29 GMT
> > If so, here's something interesting. When I went to run it, I get
> > the error
[quoted text clipped - 4 lines]
> conclude that uninstall of 1.4.2_03 successfully removed its registry
> entries.
I believe I may have found the root of my problem. When I go into
"regedit" and navigate to the above named registry entry, when I click
on "Javasoft", I'm getting an error that says:
"Cannot open JavaSoft: Error while opening key"
So I guess if I'm having problems opening up that registry entry, the
install utility is as well. And because it can't write the necessary
registry
information, I'm having problems with my plug-in.
Now, I'm not sure why this is happening. I have administrative rights
on my machine. The only thing I can think of is that perhaps that part
of my registry is corrupt. Has this happened to anyone else?
thnx,
Christoph
zoopy - 27 Aug 2004 14:09 GMT
> I believe I may have found the root of my problem. When I go into
> "regedit" and navigate to the above named registry entry, when I click
[quoted text clipped - 12 lines]
> thnx,
> Christoph
Can you delete that key from the registry?
[sounds risky, and it's probably a good idea to make a backup before,
but if that part of the registry is corrupt, once it is deleted, the JRE
installer *might* be able to correct the problem]

Signature
Regards,
Z.
Christoph - 27 Aug 2004 20:00 GMT
> Can you delete that key from the registry?
> [sounds risky, and it's probably a good idea to make a backup before,
> but if that part of the registry is corrupt, once it is deleted, the JRE
> installer *might* be able to correct the problem]
No, I cannot. Whenever I try to make any change (delete, modify
permissions, etc), I'm getting the same error:
"Cannot open JavaSoft: Error while opening key"
When I go in to see who has permissions to do anything with that key,
it's showing up with noone in the list, not even admin.
thnx,
Christoph
Grant Wagner - 30 Aug 2004 16:29 GMT
> > Can you delete that key from the registry?
> > [sounds risky, and it's probably a good idea to make a backup before,
[quoted text clipped - 11 lines]
> thnx,
> Christoph
Go to the Permissions for the JavaSoft key, click Advanced and check the box
near the bottom that says "Inherit from parent the permission entries that
apply to child objects. Include these with entries explicityly defined here."
That should give SYSTEM and Administrators enough Permission to either
overwrite the data in that key and subkeys, or you could delete that key and
start over.
--
Grant Wagner <gwagner@agricoreunited.com
Christoph - 09 Sep 2004 16:49 GMT
> Go to the Permissions for the JavaSoft key, click Advanced and check the
> box near the bottom that says "Inherit from parent the permission entries
> that apply to child objects. Include these with entries explicityly
defined
> here."
When I tried this I was presented with the error:
"Unable to save permission changes on JavaSoft.
Access is denied."
So I guess that means I'm pretty well screwed.
thnx,
Christoph