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 / February 2007

Tip: Looking for answers? Try searching our database.

Applet versioning problem

Thread view: 
Kevin CH - 19 Feb 2007 21:11 GMT
We have certain Applets written on JDK1.2.2, and a recent upgrade of
JRE on the workstation to 1.6 made the Applets unable to load on the
workstations.  The root cause of the problem shown by Java Console is
the following:

>>java.lang.NoClassDefFoundError: sun/plugin/protocol/PluginProxyHandler
>>    at DCSAppInvoker.getProxyInfo(DCSAppInvoker.java:200)
>>    at DCSAppInvoker.init(DCSAppInvoker.java:73)
>>    at sun.applet.AppletPanel.run(Unknown Source)
>>    at java.lang.Thread.run(Unknown Source)

One solution I've come up so far is installing JDK1.2 on the
workstations and configure Java Plugin to force JRE1.6 to execute the
applet using JRE1.2 (e.g., java -version:1.2 MyClass)  but that's very
clumsy.

Anyone knows any other ways to reconcile this problem without
modification to the code?  Thanks in advance.

Regards,

Kevin
mickey - 19 Feb 2007 21:24 GMT
> We have certain Applets written on JDK1.2.2, and a recent upgrade of
> JRE on the workstation to 1.6 made the Applets unable to load on the
[quoted text clipped - 18 lines]
>
> Kevin

hi.. one solution is very much inn
U know applets r out of date
USE FRAMES INSTED OF APPLETS
everything u do in applets ..u can do it in frames
try this out ..
its much =better
Andrew Thompson - 19 Feb 2007 23:02 GMT
> We have certain Applets written on JDK1.2.2, and a recent upgrade of
> JRE on the workstation to 1.6 made the Applets unable to load
...
> One solution I've come up so far is installing JDK1.2 on the
> workstations and configure Java Plugin to force JRE1.6 to execute the
> applet using JRE1.2
...
> Anyone knows any other ways to reconcile this problem without
> modification to the code?  

Java web start.  It can launch applets(1),
and handle the versioning(2) for you.

1) <http://www.physci.org/jws/#jtest>
2) <http://www.athompson.info/family/thompson-1.5-all.jnlp>

Andrew T.
Mickey Segal - 20 Feb 2007 00:13 GMT
> Java web start.  It can launch applets(1),
> and handle the versioning(2) for you.

How common is it for people in locked-down environments to be blocked from
using Java Web Start?


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



©2009 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.