Quote:
Originally Posted by ArthurFontolan
Hello,
I installed the openjdk8 package of AlienBob and I found two behaviors on my system:
First: Duplicated entries on in XFCE Menu. Both "OpenJDK 1.8.0 Monitoring & Manager" and "OpenJDK 1.8.0 Policy Tool" have to icons each.
Second: When I try to execute any menu entry I get the follow messages:
- "Failed to execute child process "/usr/local/bin/jconsole" (No such file or directory)";
- "Failed to execute child process "_BINDIR_/jconsole" (No such file or directory)";
- "Failed to execute child process "/usr/local/bin/policytool" (No such file or directory)"; and
- "Failed to execute child process "_BINDIR_/policytool" (No such file or directory)".
Someone else had this errors? My systems is a fresh install of Slack64 14.2 with Multilib.
Thanks.
|
There's a trouble with .desktop generated files. You can fix this manually (as root) as below :
edit /usr/share/applications/policytool.desktop and change the line :
Code:
Exec=_BINDIR_/policytool
by
Code:
Exec=/usr/lib64/java/bin/policytool
edit /usr/share/applications/jconsole.desktop and change the line :
Code:
Exec=_BINDIR_/jconsole
by
Code:
Exec=/usr/lib64/java/bin/jconsole
To get rid of the extra jconsole and policykit menu entries, removes the files below :
Code:
/usr/share/applications/policytool-1.8.0.desktop
/usr/share/applications/jconsole-1.8.0.desktop
finally, run the command below :
Code:
$ update-desktop-database
--
SeB