Jdic on kde problem


I’‘m running Spark on java 1.6.0 and KDE 3.5.6. When i’'m starting Spark on my Linux box, on KDE, i always get an error:

*karwasz@68k:~/svn/spark/target/classes$ ./startup.sh

Error: Couldn’'t find per display information*

It is caused by well known bug in jdic tray icon library. In KDE jdic can’'t create tray icon.

I have latest svn version, there is also mistake in startup.sh script. In classpath …/lib/windows/jdic.jar should be …/lib/linux/jdic.jar or even …/build/lib/linux/jdic.jar because (in my case) ant script makes lib folder in a subfolder of /target/build/.

I think, there should be an option to disable tray icon in KDE, or (maybe its better solution) jdic should be replaced by native java 6 tray icon library (there are problems with that library too, but it’'s better than jdic).

Message was edited by: karwasz

Is there a workaround for this issue? I’‘ve just installed FC6 on my laptop but no Spark makes it unworkable for my job, since the Spark client crashes on startup with this "Couldn’'t find per display information" error.


The problem is in the jdic.jar. It is solved in the jdic latest version. As a workaround you can it from https://jdic.dev.java.net/servlets/ProjectDocumentList?expandFolder=4183&folderI D=5497.