Sorry I have no experience with centos, can you ldd jconsole to find
which shared libraries were missing?

On Mon, Mar 20, 2017 at 12:54 PM, David Mitchell <[email protected]> wrote:
> I am not sure what packages are missing:
>
> $ ls -l /lib64/libedit*
> lrwxrwxrwx. 1 root root     17 Dec 18 04:17 /lib64/libedit.so.0 ->
> libedit.so.0.0.42
> -rwxr-xr-x. 1 root root 235064 Jun  9  2014 /lib64/libedit.so.0.0.42
>
> $ ldd /lib64/libedit.so.0.0.42
>         linux-vdso.so.1 =>  (0x00007ffe6c1f7000)
>         libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007fce55e07000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007fce55a46000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007fce56285000)
>
> # yum list libedit
> Loaded plugins: fastestmirror, langpacks
> Loading mirror speeds from cached hostfile
>  * base: mirror.steadfast.net
>  * epel: mirror.cs.princeton.edu
>  * extras: mirrors.gigenet.com
>  * updates: ftpmirror.your.org
> Installed Packages
> libedit.x86_64                              3.0-12.20121213cvs.el7
> @anaconda
> Available Packages
> libedit.i686                                3.0-12.20121213cvs.el7
> base
>
> Can you please give me more information about what packages are missing?
>
> Thanks,
> David Mitchell
>
>
> On 3/19/2017 10:06, bill lam wrote:
>>
>> you can try using
>> browse_j_ url
>> to open a url in browser. you can also set your favourite
>> browser in base.cfg
>>
>> libedit is no longer static linked in j806 jconsole, you have to
>> install the missing packages from distro.  Please report if this
>> still can solve your problem.
>>
>> Вс, 19 мар 2017, David Mitchell написал(а):
>>>
>>> I installed J64-806 on Centos 7, activated AVX and ran the jhs installer
>>> script.
>>>
>>> The installer script created 3 icons, jc806, jhs806 and jqt806.  jqt806
>>> worked fine.  Both jc806 and jhs806 failed with "There was an error
>>> launching the application."
>>>
>>> The commands in the icons were as follows:
>>>
>>> jc806: x-terminal-emulator -e
>>> "\"/home/me/Downloads/j64-806/bin/jconsole\""
>>> jhs806: x-terminal-emulator -e
>>> "\"/home/me/Downloads/j64-806/bin/jconsole\"
>>> ~addons/ide/jhs/config/jhs.cfg"
>>>
>>> I tried the same commands in a terminal window and was told that
>>> x-terminal-emulator was not found.
>>>
>>> I did some research and found that x-terminal-emulator does not exist for
>>> Centos 7 and that the simplest fix was to replace x-terminal-emulator in
>>> the
>>> command strings with gnome-terminal, as I have Gnome installed.
>>>
>>> The updated commands now worked but generated the following message for
>>> jconsole and jhs:
>>>
>>> /home/me/Downloads/j64-806/bin/jconsole: /lib64/libtinfo.so.5: no version
>>> information available (required by
>>> /home/me/Downloads/j64-806/bin/jconsole)
>>>
>>> This message did not stop jconsole from running.
>>>
>>> jhs also had this message:
>>>
>>> sh: x-www-browser: command not found
>>>
>>> A bit more research found that this could be fixed in ide/jhs/core.jhs by
>>> replacing:
>>>
>>>   case. 'Linux'  do. 2!:0'x-www-browser ',url,' >/dev/null &'
>>>
>>> with
>>>
>>>   case. 'Linux'  do. 2!:0'xdg-open ',url,' >/dev/null &'
>>>
>>> A different general fix for the URL open might be to parse the result of
>>> this command:
>>>
>>> $ cat /usr/share/applications/defaults.list | grep http
>>> x-scheme-handler/http=firefox.desktop
>>> x-scheme-handler/https=firefox.desktop
>>>
>>> and plug in firefox, for example.
>>>
>>> /David Mitchell
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to