The Java based Guiserver in newLISP runs on Java 1.6,1.7 and also the latest update 1.8 (tested on OSX and Windows). Nowhere in the newLISP or Guiserver code is a message talking about Java versions. This must be something from OSX. Ar you using the Apple certified Java? I think its linked from the Apple site here:
https://support.apple.com/kb/DL1572?locale=en_US
Make also sure there is a softlink from the original java executable to /usr/bin/java. This is important! I am not sure if you have to install this link by yourself, as Apple doesn't install Java by default since OSX 10.9/Maverick. For example, I have the following softlink on my OSX machine:
Code: Select all
~> ls -ltr /usr/bin/java
lrwxr-xr-x 1 root wheel 74 Mar 20 07:36 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
You use
ln -s from the command line like this:
Code: Select all
sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java /usr/bin/java
On OSX, only when using the original OSX installer from the newlisp.org download page, the menu will appear the 'Apple way' on the top of the screen. When starting from the command-line the menu will appear as it would on Windows or Linux on the top of the editor application window.
There are two ways to start Guiserver programs on OSX and all other OS:
Code: Select all
java -jar /usr/share/newlisp/guiserver.jar 64001 /usr/bin/newlisp-edit /usr/share/newlisp/newLISP128.png
The last parameter is the splash screen and not necessary. The guiserver will use two ports, in the example 64001 and 64002. You can specify other ports > 1024, which are not used by your system. When people have problems, its often the port used. Currently on 10.6.2, 2000 and 2001 are used, and that may be your problem. Try 64001, like above and will be the default in future versions.
The simple way is, entering newlisp-edit (newlisp newlisp-edit.lsp) from the commandline, and newlisp-edit must be in the executable path. newlisp-edit on OSX is simple newlisp-edit.lsp, but renamed without the extension.