Skip to main content

0.8.5 Desktop.browse() does not start browser

1 reply [Last post]
tes
Offline
Joined: 2006-02-17
Points: 0

Hello,
I am successfully using Desktop.browse(url) on a Windows machine by simply dropping the two dll files in one of the %PATH% directories.

I am not getting this to work on my Debian Linux machine.

Firstly, could you please clarify that all that is required is that the run-time shared library loader (ld.so) finds libjdic.so.

I have tried
a) setting LD_LIBRARY_PATH
b) dripping the library in one of the paths specified in /etc/ld.so.conf (which I would prefer)

Desktop.browse() does not throw an exception. Just nothing happens.

The default browser on this Linux machine is Galeon 1.3.15. On the target machines it will be Epiphany (The web browser for the GNOME Desktop).
I am assuming that Desktop.browse() will start any default browser?!?!?!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
georgez
Offline
Joined: 2003-08-19
Points: 0

Hi tes,

We didn't test the releases on Debian Linux machines. Could you help to check if the included FileExplorer demo works ?
If it doesn't work either, seems that we've got the well-known compatibility problem with Linux distributions.
Then there needs to rebuild a JDIC release for Debian.

For the other point. Currently, as the README file states:
https://jdic.dev.java.net/documentation/README.html

JDIC Browser component only supports the default IE/Mozilla on Windows, and Mozilla on Linux/Solaris, not including Galeon, or Ephphany. It might work, but not tested. I think it can't.

Thanks,
-George.