Skip to main content

Control panel applet fails for user accounts

3 replies [Last post]
shuttle
Offline
Joined: 2008-09-13

I'm not aware if this is a known issue, apologies if it is. When I'm trying to use the Java control panel applet I get the following error -

could not find the main class: com.sun.deploy.panel.ControlPanel

The control panel applet works from an administrator account but doesn't work under a limited user, despite working fine in previous builds. Java still functions properly, I just can't configure it via the control panel.

I'm using JRE Update 10 RC2 b31 on XP Pro x86 SP3.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ingridy
Offline
Joined: 2004-11-17

We can not reprodue this problem in house, i.e. no problem to bring up Control panel with non-administrator account.

Questions:

1. How do you install 6u10 RC2 b31? online installer or offline installer?
2. you use administrator account to install or non-administrator?
3. Did you uninstall 6u10 previous builds before install b31?

shuttle
Offline
Joined: 2008-09-13

Thanks for replying, I've managed to work out what the problem was and it was my fault really. I used the offline installer as admin and always do a clean install.

As a quick aside, I manually delete the Sun folders from the Application Data directory in Docs & Settings, as I was getting multiple instances in the Runtime Settings section of the control panel applet.

Anyway, due to several programs all installing the same dll files (often different versions) in the application folder, I'd delete these and let the program find these in the system32 directory. With Java I usually get rid of the following -

\Program Files\Java\jre6\bin\msvcr71.dll
\Program Files\Java\jre6\bin\msvcrt.dll
\Program Files\Java\jre6\bin\unicows.dll
\Program Files\Java\jre6\bin\new_plugin\msvcr71.dll

Running Filemon showed that the control panel process was trying to access \Program Files\Java\jre6\bin\msvcr71.dll but (oddly in my opinion) didn't try to look in system32 when it didn't find it. Putting msvcr71.dll back in \Program Files\Java\jre6\bin\ solved the problem.

Thanks for your help again.

shuttle
Offline
Joined: 2008-09-13

I'll file a bug if nobody has any objections. The expected behaviour is that Java should look for msvcr71.dll in the system32 directory, regardless of where the installer places a particular copy of this file.