guiserver just hangs.

Started by tom, December 11, 2007, 01:21:54 PM

Previous topic - Next topic

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


(load "guiserver/font-demo.lsp")
sh: /usr/bin/java: No such file or directory


Any ideas about what I can check to fix this?

cormullion

#1
Is it possible that you don't have java installed?


> 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

tom

#2
In my case its at

/opt/java/jre/bin/java



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

cormullion

#3
Cool. That's the extent of my trouble-shooting expertise reached!

tom

#4
shucks.  Anybody else?

Lutz

#5
try this:
/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?

tom

#6
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!