LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Openjdk8 alienbob's pkg: Strange behavior (https://www.linuxquestions.org/questions/slackware-14/openjdk8-alienbobs-pkg-strange-behavior-4175587518/)

ArthurFontolan 08-20-2016 12:50 PM

Openjdk8 alienbob's pkg: Strange behavior
 
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.

suppy 08-21-2016 05:07 AM

Bugreports for alienbob's packages should go on his blog afaik ... you might be lucky and he notices this post, but there's no guarantee of that.

phenixia2003 08-21-2016 05:30 AM

Quote:

Originally Posted by ArthurFontolan (Post 5593600)
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


All times are GMT -5. The time now is 12:30 PM.