Ubuntu 8.04 + GUI (wont work)
Ubuntu 8.04 + GUI (wont work)
After running "newlisp-edit" in terminal, I see freezed GUI window (screenshot related). Any attemts to select menu or enter text in GUI window are unsuccessful: no reaction.
Java -version:
java version "1.5.0"
gij (GNU libgcj) version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
newlisp -h
newLISP v.10.1.5 Copyright (c) 2009 Lutz Mueller. All rights reserved.
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.3 LTS
Release: 8.04
Codename: hardy
screenshot:
http://img7.imageshost.ru/imgs/091001/e ... /83093.png
Java -version:
java version "1.5.0"
gij (GNU libgcj) version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
newlisp -h
newLISP v.10.1.5 Copyright (c) 2009 Lutz Mueller. All rights reserved.
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.3 LTS
Release: 8.04
Codename: hardy
screenshot:
http://img7.imageshost.ru/imgs/091001/e ... /83093.png
You need to run the original Java version from Sun. The preinstalled GNU versions on UBUNTU are still not compatible.
Download the Java SE Runtime Environment (the full development environment is not required).
Install it anywhere, e.g. in usr/local/ and make a softlink link of the java executable to /usr/bin/java. On my machine this went like this:
I downloaded this: jre-6u16-linux-i586.bin, not the RPM version. You run this as a script in /usr/local as administrator or using sudo.
ps: on this page http://java.sun.com/javase/downloads/index.jsp scroll down to the title "Java SE Runtime Environment (JRE)"
Download the Java SE Runtime Environment (the full development environment is not required).
Install it anywhere, e.g. in usr/local/ and make a softlink link of the java executable to /usr/bin/java. On my machine this went like this:
Code: Select all
ln -s /usr/local/jre1.6.0_13/bin/java /usr/bin/java
ps: on this page http://java.sun.com/javase/downloads/index.jsp scroll down to the title "Java SE Runtime Environment (JRE)"
Normally when doing:
$ is the shell prompt. newLISP starts first, then the newLISP process starts the Java server.
47011 is the port for newlisp <--- guiserver
47012 is the port for newlisp ---> guiserver
Instead try this:
or any other of the demo apps instead newlisp-edit. This starts the guiserver first.
Code: Select all
$ newlisp-edit
;or
$ newlisp my-gui-app.lsp
47011 is the port for newlisp <--- guiserver
47012 is the port for newlisp ---> guiserver
Instead try this:
Code: Select all
java -jar /usr/share/newlisp/guiserver.jar 47011 /usr/bin/newlisp-edit
Same again:
newLISP-GS v.1.32 on Linux
double buffering supported.
guiserver starting newLISP "newlisp /usr/bin/newlisp-edit 47011 javastart &"
guiserver finished exec
listening on 47011
accepted connection from 0.0.0.0
connecting to 0.0.0.0:47012
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
retrying to connect
...
I am glad it works, but I wonder about the screen shot you posted earlier, because half of the editor/IDE was missing there.
This is how the editor (left in the screen shot) should look like:
http://www.newlisp.org/images/UbuntuLinux.png
This is how the editor (left in the screen shot) should look like:
http://www.newlisp.org/images/UbuntuLinux.png
Yep, it has now a «test» part downwards, where I can try to evaluate something. I have marked on your screenshot windows I have. Can not post a photo of my own screen right now, because I’m at the home already, using another PC.Lutz wrote:…how the editor (left in the screen shot) should look like…
http://img7.imageshost.ru/imgs/091001/6 ... /524da.png