David, Patrick; I have just released a new JHS with an improved version of installer.ijs. With luck this will do a better job of creating icons that work in a wider range of linux environments (particularly in the ones where problems were reported).
On Sun, Mar 19, 2017 at 8:48 AM, David Mitchell <[email protected]> wrote: > 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
