Guiserver on Win10

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?

Guiserver on Win10

Postby dukester » Sun Jul 24, 2016 5:15 am

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
dukester
 
Posts: 90
Joined: Tue May 08, 2007 1:06 pm
Location: Alberta, Canada

Re: Guiserver on Win10

Postby jazper » Tue Aug 09, 2016 10:35 am

Do you have Java installed? I had no problem with newLISP installer on win 10 (64 bit) a few days ago
jazper
 
Posts: 91
Joined: Thu Dec 10, 2009 8:26 am
Location: South Africa

Re: Guiserver on Win10

Postby dukester » Tue Aug 09, 2016 11:59 am

Java is installed and kept up to date!! :) Other Java-centric software run without a problem.
duke
dukester
 
Posts: 90
Joined: Tue May 08, 2007 1:06 pm
Location: Alberta, Canada

Re: Guiserver on Win10

Postby jazper » Thu Aug 11, 2016 9:39 am

Try running guiserver.jar from java
jazper
 
Posts: 91
Joined: Thu Dec 10, 2009 8:26 am
Location: South Africa

Re: Guiserver on Win10

Postby dukester » Thu Aug 11, 2016 12:55 pm

Code: Select all
c:\bin\newlisp>java newlisp.jar
Error: Could not find or load main class newlisp.jar
duke
dukester
 
Posts: 90
Joined: Tue May 08, 2007 1:06 pm
Location: Alberta, Canada

Re: Guiserver on Win10

Postby dukester » Thu Aug 11, 2016 11:00 pm

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
dukester
 
Posts: 90
Joined: Tue May 08, 2007 1:06 pm
Location: Alberta, Canada

Re: Guiserver on Win10

Postby porg » Mon May 22, 2017 2:44 am

I have the exact same issue, except on ubuntu 16.04

It works fine on my windows 7 box. What the hell guys?
porg
 
Posts: 4
Joined: Mon May 22, 2017 2:42 am

Re: Guiserver on Win10

Postby xytroxon » Wed May 24, 2017 6:05 am

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
xytroxon
 
Posts: 295
Joined: Tue Nov 06, 2007 3:59 pm

Re: Guiserver on Win10

Postby porg » Sat May 27, 2017 4:44 pm

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

Postby porg » Sat May 27, 2017 4:49 pm

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

Postby porg » Sat May 27, 2017 4:57 pm

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
porg
 
Posts: 4
Joined: Mon May 22, 2017 2:42 am


Return to newLISP and the O.S.

Who is online

Users browsing this forum: No registered users and 2 guests

cron