guiserver just hangs.

Guiserver, GTK-server, OpenGL, PostScript,
HTML 5, MIDI, IDE
Locked
tom
Posts: 168
Joined: Wed Jul 14, 2004 10:32 pm

guiserver just hangs.

Post 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?

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post 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

tom
Posts: 168
Joined: Wed Jul 14, 2004 10:32 pm

Post 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.

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

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

tom
Posts: 168
Joined: Wed Jul 14, 2004 10:32 pm

Post by tom »

shucks. Anybody else?

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post 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?
Last edited by Lutz on Thu Dec 13, 2007 12:15 am, edited 1 time in total.

tom
Posts: 168
Joined: Wed Jul 14, 2004 10:32 pm

Post 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!

Locked