Skip to main content

java 6UN incompatable with web browser control

4 replies [Last post]
tdanecito
Offline
Joined: 2005-10-10

I have noticed that the latest release of 6UN build 11 is throwing the following error related to the JDIC WebBrowser.

I will leave this posting here although I realize there may not be any support for JDIC.

org.jdesktop.jdic.init.JdicInitException: java.lang.IllegalAccessError: tried to access method com.sun.jnlp.JNLPClassLoader.findLibrary(Ljava/lang/String;)Ljava/lang/String; from class org.jdesktop.jdic.init.JdicManager
at org.jdesktop.jdic.init.JdicManager.initShareNative(Unknown Source)
at org.jdesktop.jdic.browser.internal.WebBrowserUtil.loadLibrary(Unknown Source)
at org.jdesktop.jdic.browser.internal.WebBrowserUtil.getDefaultBrowserPath(Unknown Source)
at org.jdesktop.jdic.browser.BrowserEngineManager.selectEngine(Unknown Source)
at org.jdesktop.jdic.browser.BrowserEngineManager.getActiveEngine(Unknown Source)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
uta
Offline
Joined: 2007-01-10

I will evaluate and fix this bug in JDIC code ASAP.

egdelpuerto
Offline
Joined: 2008-01-29

Hello!

I've recently ran into the same problem with JDIC and Java Web Start 6.
Did you finally get to resolve it? If you did, could you give some ideas please.

Thank you in advance

andreamazzolini
Offline
Joined: 2003-06-10

See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6671201
They say:
" This is bug in JDIC, not Java Web Start. Importing non public interfaces of existing products w/o contract private interface is not allowed. "

Message was edited by: andreamazzolini

ljnelson
Offline
Joined: 2003-08-04

Right. There are so many things wrong with JDIC's interaction with WebStart that I hardly know where to begin. The biggest one is that nowhere is it guaranteed that the classloader will be the com.sun.jnlp.JNLPClassLoader, and indeed in Glassfish (to take only one arbitrary example!) it is not.

So not only does JDIC try to invoke a method that is not public, it does it on a classloader that isn't always there.

Personally, I'll hold out for http://www.jidesoft.com/blog/2008/05/08/jwebpane/.