Skip to main content

Applets within jdicplus browser does not load

5 replies [Last post]
chippen
Offline
Joined: 2008-09-30
Points: 0

Does anyone know of a fix/workaround when using the jdicplus browser to display a page that has applets. This used to work in older versions of JDIC. Using the JDIC plus browser (demo one provided with no modifications) when I visit a page for example:

http://java.sun.com/applets/jdk/1.4/demo/applets/NervousText/example1.html

I get the following error.

"Cannot load class sun/plugin/JavaRunTime.

The bridge was installed at but the class is not there Modify the registry key to reflect the new bridge location........"

I have tried this on multiple computers with no success. The applets load fine outside the JDIC Browser.

Any help would be much appreciated.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Tony Anecito

Works fine in MyUniPortal using jre 1.6.0_07.

If you have jre 1.6.0+ installed just go to my site and download MyUniPortal. After installing click the browser button and a child window will open. After the default url loads just copy and past your url and then select the go button.

Regards,
Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com

--- On Tue, 9/30/08, jdic@javadesktop.org wrote:

> From: jdic@javadesktop.org
> Subject: [JDIC] Applets within jdicplus browser does not load
> To: jdic@jdic.dev.java.net
> Date: Tuesday, September 30, 2008, 8:14 AM
> Does anyone know of a fix/workaround when using the jdicplus
> browser to display a page that has applets. This used to
> work in older versions of JDIC. Using the JDIC plus browser
> (demo one provided with no modifications) when I visit a
> page for example:
>
> http://java.sun.com/applets/jdk/1.4/demo/applets/NervousText/example1.html
>
> I get the following error.
>
> "Cannot load class sun/plugin/JavaRunTime.
>
> The bridge was installed at but
> the class is not there Modify the registry key to reflect
> the new bridge location........"
>
> I have tried this on multiple computers with no success.
> The applets load fine outside the JDIC Browser.
>
> Any help would be much appreciated.
> [Message sent by forum member 'chippen' (chippen)]
>
> http://forums.java.net/jive/thread.jspa?messageID=302545
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jdic-unsubscribe@jdic.dev.java.net
> For additional commands, e-mail:
> jdic-help@jdic.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: jdic-unsubscribe@jdic.dev.java.net
For additional commands, e-mail: jdic-help@jdic.dev.java.net

chippen
Offline
Joined: 2008-09-30
Points: 0

What version of JDIC were you using? I tried to run your app but whenever I clicked on the browser tab it threw an exception about a incorrect version of JDIC. I am running 0.2.2

Anyway with that said I have found other strange issues which are preventing me from using this version.

First off the execJS seems to be somewhat broken. I try to call a function which then sets a property on an active-x control. In JDIC Plus 0.1.0 and JDIC 0.9.5 this works fine. Although in JDIC Plus the javascript string must start with "#"?? Going to any version newer than 0.1.0 and the same code fails with "Attempt to access invalid address". Note if I have a button on the website which calls that javascript function with identical params it works.

Also simply calling alert('a'); cause the browser to repeatedly loop showing the popup before crashing.

Is there any current development happening on this project.

tdanecito
Offline
Joined: 2005-10-10
Points: 0

Hi Chippen,

First off I have never heard of the exception you mention and I have over 30,000 users. The JDIC I am using is 0.2.2 which should be called up from downloaded jars supplied by the project unless you are trying to override it or use my jars which will not work for you in a project since I sign them.
As far as execJS I stick to simple usage of it and it works fine for me. My main issue as everyone knows is the javascript errors are not being handled in the JDICPlus code as they were in 0.9.x.

If you read the forum there are messages about who,when,why of support. As far as I know there has been no response from Sun or the developers (maybe Google hired them?) since the 0.2.2 release.

Regards,
Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com

chippen
Offline
Joined: 2008-09-30
Points: 0

Hi,

Its probably something screwed with my setup. I was just running your app straight from the java webstart nothing else so likewise I am not sure how it came up with that error.

Ive gone back to the 0.9.x release since I need the ability to call the javascript functions for the active-x control more than i need the lightweight component benefits. I have to use the active-x control to bring ms office apps into the java frame unforntunately.

Thanks for the responses though.

tdanecito
Offline
Joined: 2005-10-10
Points: 0

Hi Chippen,

Thanks for the feedback I will see what I can do to repeat the exception. Perhaps could be your version of WebStart getting confused if you have the 0.2.2 and my jars. Most my users are located throughout the globe and have 1.6.0_ through 1.7 beta and some 6u10 rc.

Good luck with 0.9.x I know it is not supported but at least you can build it if needed with fixes as needed.

Regards,
Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com