Hi all. With a new installation of Ubuntu 15.04, I installed java (not the jre that comes with ubuntu) from Oracle, as shown in the downloads page. The result is that the java executable is found at
On OS X and all other Unix/Linux newlisp-edit looks for NEWLISPDIR/guiserver.jar, where NEWLISPDIR is defined as /usr/local/share/newlisp on newlisp startup, except when NEWLISPDIR is already defined in the environment, then that definition is not changed when newlisp starts.
You also can start newlisp-edit by starting guiserver.jar first:
Thanks for the NEWLISPDIR tip. I will try setting that. However, this java response has dogged me for days: any attempt to call java results in this response in the terminal:
The program 'java' can be found in the following packages:
* default-jre
* gcj-4.9-jre-headless
* gcj-5-jre-headless
* openjdk-7-jre-headless
* gcj-4.8-jre-headless
* openjdk-6-jre-headless
* openjdk-8-jre-headless
Try: sudo apt-get install <selected package>
I even tried it with these installed, with the same result.
NEWLISPDIR does not persist. I set it and restart, and it's not there using
printenv
or
printenv NEWLISPDIR
There are a confusing number of totally different posts on askbuntu on how to set it on startup, (~/.profile, ~/.local.rc, ~/.pam_environment, and some files in /etc) all of which I have tried, and none work.
Anyhow, even after setting it for a terminal session and checking that it still there, it doesn't change things
This problem sorted itself out somehow. I'm on Ubuntu 16.04. I installed newLISP from the download. After not getting the GuiServer to work, I left things for these few months, & had my newLISP fun on windows. Then, I found a post on how to install Oracle Java on Ubuntu 16.04. I followed that, & the guiserver just worked. It was not necessary to create a symlink.