eclipse exits with a kdialog error
Bug #68385 reported by
Pierre Buard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eclipse (Debian) |
Fix Released
|
Unknown
|
|||
eclipse (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: eclipse
Eclipse exits with this error :
searching for compatible vm...
testing /usr/lib/
kdialog: Option <--warning> unknown.
kdialog: Use --help [...]
After editing "/usr/bin/eclipse" to remove the call to "--warning" (Lines 140 to 145), Eclipse starts.
I'm guessing that since it doesn't find "libgtkembedmoz.so" the script is supposed to end with a dialog warning me about it.
Changed in eclipse: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Hello
Can confirm this. The Eclipse start scipt does not handle the different dialogs properly.
Looking at it gives me a slight WTF feeling!
The beginning: /usr/bin/ zenity /usr/bin/ kdialog /usr/bin/ xdialog
if [ -x /usr/bin/zenity ]; then
DIALOG=
elif [ -x /usr/bin/kdialog ]; then
DIALOG=
elif [ -x /usr/bin/xdialog ]; then
DIALOG=
else
DIALOG=echo
fi
The last one is especially cool, since this would echo the whole *dialog parameter list on the terminal! But at least Eclipse would work!
But since kdialog uses diffent options than the one this was tested with, it fails. Obviously nobody ever tested this with kdialog.