Guiserver on Win10

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Post Reply
dukester
Posts: 108
Joined: Tue May 08, 2007 1:06 pm
Location: Alberta, Canada

Guiserver on Win10

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

jazper
Posts: 92
Joined: Thu Dec 10, 2009 8:26 am
Location: South Africa

Re: Guiserver on Win10

Post by jazper »

Do you have Java installed? I had no problem with newLISP installer on win 10 (64 bit) a few days ago

dukester
Posts: 108
Joined: Tue May 08, 2007 1:06 pm
Location: Alberta, Canada

Re: Guiserver on Win10

Post by dukester »

Java is installed and kept up to date!! :) Other Java-centric software run without a problem.
duke

jazper
Posts: 92
Joined: Thu Dec 10, 2009 8:26 am
Location: South Africa

Re: Guiserver on Win10

Post by jazper »

Try running guiserver.jar from java

dukester
Posts: 108
Joined: Tue May 08, 2007 1:06 pm
Location: Alberta, Canada

Re: Guiserver on Win10

Post by dukester »

Code: Select all

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

dukester
Posts: 108
Joined: Tue May 08, 2007 1:06 pm
Location: Alberta, Canada

Re: Guiserver on Win10

Post 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)
duke

porg
Posts: 4
Joined: Mon May 22, 2017 2:42 am

Re: Guiserver on Win10

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

xytroxon
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm
Contact:

Re: Guiserver on Win10

Post 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
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976

porg
Posts: 4
Joined: Mon May 22, 2017 2:42 am

Re: Guiserver on Win10

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

porg
Posts: 4
Joined: Mon May 22, 2017 2:42 am

Re: Guiserver on Win10

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

porg
Posts: 4
Joined: Mon May 22, 2017 2:42 am

Re: Guiserver on Win10

Post 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

Post Reply