Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

Turn off Java Plug-in applet tag support

Thread view: 
luke@webber.com.au - 09 Nov 2006 23:30 GMT
I'm presently working on a project which involves switching a bunch of
applets from the old M$ Java runtime to Sun's 1.5 plug-in. We want to
be able to offer the users the chance to switch from the "old" applet
support to "new" applets and (and this is the hitch) back again, at
will, in case of problems.

So far, I have everything working beautifully, but I've struck a hitch.
If the user installs the JRE from the Sun site, it will by default turn
on applet tag support, which means that they are then stuck with the
Sun JRE no matter what until somebody switches it off. As we don't
really want the headache of having to explain to the users how this is
done, and as many of them may not even have local admin rights, I would
like to find a way of turning off applet tag support programmatically
from a signed Java applet.

The problem? The flag I need to hit is stored in the registry, not in
system preferences where (IMO) it should be. In
HKLM\Software\JavaSoft\Java Plug-in\(version)\UseJava2IExplorer.

Can anybody please suggest some way that I can reset this baby? Or am I
boned?

Many thanks for any and all suggestions,
Luke
Dag Sunde - 10 Nov 2006 09:24 GMT
> I'm presently working on a project which involves switching a bunch of
> applets from the old M$ Java runtime to Sun's 1.5 plug-in. We want to
[quoted text clipped - 17 lines]
> Can anybody please suggest some way that I can reset this baby? Or am
> I boned?

Have you tried?

I mean... you have all the "ingredients": A signed applet, a Windows
machine with a browser, and a registry flag.

Write a test applet, and try studing this:
http://mindprod.com/jgloss/registry.html to get an idea or two...

Signature

Dag.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.