The Source for Java Technology Collaboration

Home » java.net Forums » Java Desktop Technologies » SwingLabs

Thread: JDIC - is it still maintained? The webstart demo doesn't work in Linux

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 0
tjwolf

Posts: 90
JDIC - is it still maintained? The webstart demo doesn't work in Linux
Posted: Oct 21, 2008 1:33 PM
 
  Click to reply to this thread Reply

I was trying to catch up on the browser component of JDIC and was trying to run the webstart demo at:
http://javadesktop.org/articles/jdic/
The browser window pops up, but you can't really go anywhere - not surprising because the Java console shows the error below. Does someone know whether the latest (I see version 0.9.5) will work on Linux (Fedora, Ubuntu?), Windows (XP and Vista?), and Solaris as the short file description suggests?

I got the binary 0.9.5 zip file and tried running the Browser via:

twolf@beowulf:~/downloads/jdic/jdic-0.9.5-bin-cross-platform$ java -jar Browser.jar
[I had to fix a couple shared library issues: it was looking for jdic.so which doesn't exist - so I created a softlink to libjdic.so and added the directory to my LD_LIBRARY_PATH; that shared library uses libstdc++.so.5, which my Linux box (Ubuntu 8.04) doesn't have - I installed it from the 'net]

When all was done and I ran the above, the same browser window as in the Webstart demo pops up, but, again, it doesn't do anything when trying to go to a web site. Unlike the web version, there are no error messages at all!


Thanks for all info and suggestions.
tom

----------exception below -----------
Loaded by JavaWebStart,version is javaws-1.6.0_07
running path /home/twolf/.java/deployment/cache/6.0/43/5c675ab-4d9946a9-n
nativeLibLoaded false
load jdic...
loading jdic in WebBrowserUtil
loading jdic Exception in WebBrowserUtil
java.lang.UnsatisfiedLinkError: /home/twolf/.java/deployment/cache/6.0/43/5c675ab-4d9946a9-n/libjdic.so: libstdc++.so.5: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.jdesktop.jdic.browser.internal.WebBrowserUtil$1.run(WebBrowserUtil.java:93)
at java.security.AccessController.doPrivileged(Native Method)
at org.jdesktop.jdic.browser.internal.WebBrowserUtil.loadLibrary(WebBrowserUtil.java:89)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(WebBrowser.java:121)
at Browser.jbInit(Browser.java:193)
at Browser.<init>(Browser.java:89)
at Browser.main(Browser.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1293)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1239)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1086)
at com.sun.javaws.Launcher.run(Launcher.java:105)
at java.lang.Thread.run(Thread.java:619)

Message was edited by: tjwolf




 XML java.net RSS