Page 1 of 1

Guiserver on Win10

Posted: Sun Jul 24, 2016 5:15 am
by dukester
Will not boot for me! A terminal window flashes by for a second or so, and then nothing. I accept all the defaults when I install. Ideas please! TIA ....

Re: Guiserver on Win10

Posted: Tue Aug 09, 2016 10:35 am
by jazper
Do you have Java installed? I had no problem with newLISP installer on win 10 (64 bit) a few days ago

Re: Guiserver on Win10

Posted: Tue Aug 09, 2016 11:59 am
by dukester
Java is installed and kept up to date!! :) Other Java-centric software run without a problem.

Re: Guiserver on Win10

Posted: Thu Aug 11, 2016 9:39 am
by jazper
Try running guiserver.jar from java

Re: Guiserver on Win10

Posted: Thu Aug 11, 2016 12:55 pm
by dukester

Code: Select all

c:\bin\newlisp>java newlisp.jar
Error: Could not find or load main class newlisp.jar

Re: Guiserver on Win10

Posted: Thu Aug 11, 2016 11:00 pm
by dukester
Here's some more clues:

Code: Select all

c:\bin\newlisp>java -jar guiserver.jar
newLISP-GS v.1.66 on Windows 10
 double buffering not supported.
 listening on 64001
Exception in thread "main" java.net.BindException: Address already in use: JVM_Bind
        at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
        at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at guiserver.main(guiserver.java:94)

Re: Guiserver on Win10

Posted: Mon May 22, 2017 2:44 am
by porg
I have the exact same issue, except on ubuntu 16.04

It works fine on my windows 7 box. What the hell guys?

Re: Guiserver on Win10

Posted: Wed May 24, 2017 6:05 am
by xytroxon
If I remember correctly, you have to install Java on Ubuntu first. Check to see if you have Java istalled.

Code: Select all

>java -version

java version "1.7.0_131"
OpenJDK Runtime Environment (IcedTea 2.6.9) (7u131-2.6.9-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.131-b00, mixed mode)
-- xytroxon

Re: Guiserver on Win10

Posted: Sat May 27, 2017 4:44 pm
by porg
Yeah - i have java installed, open jdk 1.7

I trigger the guiserver lisp similar to my windows install and the command line says its listening on a specific port. I wait for the ide to start, thinking that java needed to spin up to display the gui itself (which never appears).

Re: Guiserver on Win10

Posted: Sat May 27, 2017 4:49 pm
by porg
Tried installing open jdk 1.8 - same issue:

Code: Select all

>sudo java -jar guiserver.jar
newLISP-GS v.1.66 on Linux
 double buffering supported.
 listening on 64001
Exception in thread "main" java.net.BindException: Address already in use (Bind failed)
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
	at java.net.ServerSocket.bind(ServerSocket.java:375)
	at java.net.ServerSocket.<init>(ServerSocket.java:237)
	at java.net.ServerSocket.<init>(ServerSocket.java:128)
	at guiserver.main(guiserver.java:94)
Java installed:

Code: Select all

 >java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

Re: Guiserver on Win10

Posted: Sat May 27, 2017 4:57 pm
by porg
OK, had a brain moment -
so since the port was already bound, i tried different ports and it listens on them successfully - but i still get no gui display.

So just ran lsof to get he pid of the process occupying newlisp's port, and i killed the process:

Code: Select all

>lsof -i:64001
COMMAND  PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    3283 serv1   58u  IPv6  30233      0t0  TCP *:64001 (LISTEN)
> kill 3283
>sudo java -jar guiserver.jar
newLISP-GS v.1.66 on Linux
 double buffering supported.
 listening on 64001
Should work the same way on the windows computer for the original question - try killing whatever process is occupying that port, or pick a different port like this: java -jar guiserver.jar 64002