Not start on Win10

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

Not start on Win10

Postby First_Spectr » Sun Nov 26, 2017 1:09 pm

When i try to start lnk nothing happens. If I use cmd I get the following:
Code: Select all
D:\Program Files (x86)\newlisp>java -jar guiserver.jar newlisp-edit.lsp /local/newLISPsplash.png
newLISP-GS v.1.66 on Windows 10
 double buffering supported.
Exception in thread "main" java.lang.NumberFormatException: For input string: "newlisp-edit.lsp"
        at java.base/java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.base/java.lang.Integer.parseInt(Unknown Source)
        at java.base/java.lang.Integer.parseInt(Unknown Source)
        at guiserver.main(guiserver.java:82)


If use
Code: Select all
guiserver.jar newlisp-edit.lsp /local/newLISPsplash.png
nothing happens again.

Win 10 x64, latest version java
First_Spectr
 
Posts: 5
Joined: Wed Nov 22, 2017 9:27 am

Re: Not start on Win10

Postby Lutz » Tue Nov 28, 2017 5:32 am

A port-number must be specified:

http://www.newlisp.org/guiserver/guiserver.lsp.html

scroll down to the chapter "Application start"
Lutz
 
Posts: 5258
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Re: Not start on Win10

Postby First_Spectr » Wed Nov 29, 2017 1:22 pm

forgot to add, also tried so
Code: Select all
java -jar guiserver.jar 64001 newlisp-edit.lsp /local/newLISPsplash.png
newLISP-GS v.1.66 on Windows 10
Exception in thread "main" java.lang.NullPointerException
        at java.desktop/sun.awt.SunToolkit.getImageFromHash(Unknown Source)
        at java.desktop/sun.awt.SunToolkit.getImage(Unknown Source)
        at guiserver.getImageFromPath(guiserver.java:183)
        at guiserver.main(guiserver.java:73)


and
Code: Select all
guiserver.jar 64001 newlisp-edit.lsp /local/newLISPsplash.png
still nothing
First_Spectr
 
Posts: 5
Joined: Wed Nov 22, 2017 9:27 am

Re: Not start on Win10

Postby rickyboy » Wed Nov 29, 2017 6:54 pm

First_Spectr wrote:forgot to add, also tried so
Code: Select all
java -jar guiserver.jar 64001 newlisp-edit.lsp /local/newLISPsplash.png
...
still nothing

I don't use guiserver ("but if I did..." :), so this is just a quick driveby: that path looks suspicious to me, namely:

Code: Select all
/local/newLISPsplash.png

Check that the file exists there. I'd bet a beer it doesn't. :) Best to you, --Rick
(λx. x x) (λx. x x)
rickyboy
 
Posts: 554
Joined: Fri Apr 08, 2005 7:13 pm
Location: Front Royal, Virginia

Re: Not start on Win10

Postby First_Spectr » Fri Dec 01, 2017 9:49 am

I removed /local/newLISPsplash.png and now I have many errors like "Could not create image-button", but lisp up and running, thanks for that. Where can I find newLISPsplash.png?
First_Spectr
 
Posts: 5
Joined: Wed Nov 22, 2017 9:27 am

Re: Not start on Win10

Postby First_Spectr » Fri Dec 01, 2017 1:44 pm

Interface looks
Снимок2.PNG
interface
Снимок2.PNG (21.59 KiB) Viewed 1267 times
First_Spectr
 
Posts: 5
Joined: Wed Nov 22, 2017 9:27 am

Re: Not start on Win10

Postby First_Spectr » Fri Dec 01, 2017 10:02 pm

I found a solution, in my system used java from "jre-9.0.1" folder, I rewrote the command like
Code: Select all
C:\Program Files\Java\jre1.8.0_151\bin\java.exe" -jar .\guiserver.jar 64001 newlisp-edit.lsp
and now all work perfect. Unfortunately shortcut still not work:
Code: Select all
guiserver.jar 64001 newlisp-edit.lsp
Error: Could not find or load main class D:\Program Files (x86)\newlisp\guiserver.jar
If somebody know how to fix it - let me know please. The basic problem can be considered solved, thank you very much.
First_Spectr
 
Posts: 5
Joined: Wed Nov 22, 2017 9:27 am

Re: Not start on Win10

Postby michaellennox » Sun Nov 11, 2018 10:17 pm

Greetings! As far as I can see, this problem is common, and I don't know how to fix it. Have you find a solution?
michaellennox
 
Posts: 1
Joined: Sun Nov 11, 2018 10:15 pm


Return to newLISP and the O.S.

Who is online

Users browsing this forum: No registered users and 3 guests