Page 1 of 1

guiserver just hangs.

Posted: Tue Dec 11, 2007 9:21 pm
by tom
Howdy guys,

I tried to call newlisp-edit, and it never launches--the cursor just hangs there until finally I get the "Could not connect to guiserver" message.

I tried a sample with newlisp 9.2.0, and got

Code: Select all

(load "guiserver/font-demo.lsp")
sh: /usr/bin/java: No such file or directory
Any ideas about what I can check to fix this?

Posted: Tue Dec 11, 2007 9:43 pm
by cormullion
Is it possible that you don't have java installed?

Code: Select all

> ls /usr/bin/j*
/usr/bin/jar            /usr/bin/javaconfig     /usr/bin/javaws         /usr/bin/jmap           /usr/bin/jsadebugd
/usr/bin/jarsigner      /usr/bin/javadoc        /usr/bin/jconsole       /usr/bin/jobs           /usr/bin/jstack
/usr/bin/java           /usr/bin/javah          /usr/bin/jdb            /usr/bin/join           /usr/bin/jstat
/usr/bin/java-rmi.cgi   /usr/bin/javap          /usr/bin/jikes          /usr/bin/jot            /usr/bin/jstatd
/usr/bin/javac          /usr/bin/javatool       /usr/bin/jinfo          /usr/bin/jps

Posted: Tue Dec 11, 2007 9:57 pm
by tom
In my case its at
/opt/java/jre/bin/java

I can do java -jar guiserver.jar and it starts and listens on 64001.

Posted: Tue Dec 11, 2007 11:45 pm
by cormullion
Cool. That's the extent of my trouble-shooting expertise reached!

Posted: Wed Dec 12, 2007 1:16 am
by tom
shucks. Anybody else?

Posted: Wed Dec 12, 2007 5:21 pm
by Lutz
try this:

Code: Select all

/opt/java/jre/bin/java -jar /usr/share/newlisp/guiserver.jar 47011 /usr/bin/newlisp-edit
Lutz

ps: check all path-files names. Instead of /usr/bin/newlisp-edit you could put any other path-name of a GS application

and what OS are you running and what version of Java do you have installed?

Posted: Wed Dec 12, 2007 10:33 pm
by tom
Hi Lutz,

your command with full paths to everything worked as is, cut and pasted. the editor didn't hesitate to appear.

~ $ java -version
java version "1.6.0_03"

on Arch Linux.

btw, I'll make current newlisp arch packages when I figure out how to put the "doc" directory in its new location. So far I'm stumped. I guess it's a good thing I'm the only arch user here!