SUN jre broke registry



Hi Folks,

I have a really annoying problem.

I installed the SUN j2ee appserver incl jdk and jre for evaluation
purposes (playing around). Then an update to jre 1.5.06 was suggested.
Did that.
Was too lazy do to "custom install" so the stupid installer installed
that update in a different jre folder. Didn't want several different
jre's flying around. So uninstalled and reinstalled the update. Then
the jre didn't work even though everything seemed to be in good order,
vars, paths, plugins u name it. Didn't suspect anything critical at
that stage. So uninstalled everything, appserver, jdk, jre, update.
Complete cleanup (or so I thought). Reinstalled evrything, but it's
still not working.
Now I started to wonder and had a closer look what the story was.
Problems seems to be that the SUN installer messed up the registry. To
be more precise the keys HKCR ".jar", ".jnlp", "jarfile", "JavaPlugin"
and "JavaPlugin.150_06", maybe a few others, are completely
unaccessible. They appear to be there but they cannot be deleted,
overwritten or modified in any shape or form. When I try to set
properties the system says I haven't permissions to view them but I can
set them (now here's some logic). Ok, tried that. Regedit then shows no
owners. not even "CREATOR" or "SYSTEM". But then again the system says
I can't view them anyway. No matter what I try here (means assigning
user objects, modify access rights) it gives either "error" or "acces
denied". Needless to say the SUN installer couldnt fix it either.
Tried a few third party registry tools, no joy. Tried the registry api
functions like "RegistryOpenEx" or "RegistryDelete" directly from a
small c program, no joy. Gives error 5 "access denied".

Is there any hope I wonder? Any chance to get rid of these keys?

Because as it stands I will never have java on this box again unless
I'm willing to fry the entire installation. I mean it might not have
been very clever what I did to begin with, but how can the system allow
registry api calls that render keys useless? And what the heck was that
SUN installer "thinking".

cheers

Carsten

.



Relevant Pages

  • Re: SUN jre broke registry
    ... and if I'm wrong search for othe registry cleaning tools from sun ... Then an update to jre 1.5.06 was suggested. ... > Problems seems to be that the SUN installer messed up the registry. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: What is the difference between Java JRE 5.x and 6.x (1.5.x / 1.6.x) ???
    ... Say that a system has any non-specific version of JRE installed (sake ... trigger the Exploit_06 vulnerability. ... it must be within the normal code base or instruction set of Java for ... only be leveraged if the default behavior of the JRE installer code is ...
    (comp.lang.java.programmer)
  • Re: Build standalone executable
    ... Eclipse environment as either an applet or an application. ... multiple platforms; just Windows. ... These can be run by double clicking and icon on a Windows PC which has a JRE installed. ... With 3 & 4 you can use a normal Windows installer to install the exe with desktop icons etc. ...
    (comp.lang.java.programmer)
  • Re: Smaller package for users without JRE
    ... If I bundle up the JRE folder with my small application, ... JRE installer for Windows is only 15.5 MB. ... It is the installed JRE folder that is that large. ...
    (comp.lang.java.programmer)
  • Re: Bundling a JRE - is a minimal install possible?
    ... >Is there any way (from a legal/licensing standpoint as well as a technical ... flooding the Universe with CDs containing the JRE. ... Sun get aggressive about keeping its JREs up to date. ... A standard installer that sniffs around for a JRE. ...
    (comp.lang.java.programmer)