It is currently Thu Jun 22, 2017 1:31 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
Offline
 Post subject: KGS appear to be using "proper" installers
Post #1 Posted: Mon Feb 01, 2016 10:18 am 
Lives with ko
User avatar

Posts: 223
Location: UK
Liked others: 44
Was liked: 47
Rank: KGS 6k
KGS: Lancre
Playing Go again after a break over December and January and I noticed that the KGS download page is now listing installers for Windows, Mac and Linux, so they must have provided wrappers for people.

(What I mean is, the install file used to be a few KBs and it downloaded the application as a Java web service and "installed" it somewhere in the existing Java runtime on your computer. Now the install file is like 40MB and seems to work as its own thing).

This may help people who are still finding it difficult to make it work with their Java installs.

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #2 Posted: Mon Feb 01, 2016 11:21 am 
Tengen

Posts: 4381
Liked others: 0
Was liked: 582
http://www.gokgs.com/ has a Windows EXE (do not know what the Mac file is) while http://www.gokgs.com/download.jsp has two JNLP files as a choice. For direct offline installation, there is also http://files.gokgs.com/javaBin/cgoban.jar according to unofficial working methods for the security sensitive users: http://senseis.xmp.net/?CGoban3OfflineInstallation

It is good to have a choice between different installation methods! The next improvement would be checksums.

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #3 Posted: Mon Feb 01, 2016 5:03 pm 
Gosei
User avatar

Posts: 1994
Location: Germany
Liked others: 7168
Was liked: 809
Rank: OGS + EGF DDK
OGS: trohde
RobertJasiek wrote:
(do not know what the Mac file is)
cgoban.dmg is a 64 MB image file, contains CGoban.app, 171.5 MB (about CGoban tells me “CGoban 3.0 (1)”)

_________________
“Whenever you find yourself on the side of the majority, it is time to pause and reflect.” — Mark Twain ★ Come and play on OGS

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #4 Posted: Tue Feb 02, 2016 9:07 pm 
Dies in gote

Posts: 21
Liked others: 1
Was liked: 1
RobertJasiek wrote:
http://www.gokgs.com/ has a Windows EXE (do not know what the Mac file is) while http://www.gokgs.com/download.jsp has two JNLP files as a choice. For direct offline installation, there is also http://files.gokgs.com/javaBin/cgoban.jar according to unofficial working methods for the security sensitive users: http://senseis.xmp.net/?CGoban3OfflineInstallation

It is good to have a choice between different installation methods! The next improvement would be checksums.
The applet page still exists, and the download page still exists. However, the KGS main page no longer links to them. It is reasonable to suspect these will be abandoned or not supported. In fact, the applet already no longer works. However, those working on go playing software who want their bots to play on KGS will still want to download the GTP software, which is available on the download page.

The raw .jar file, http://files.gokgs.com/javaBin/cgoban.jar, is one of the three files linked to on the main page.

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #5 Posted: Wed Feb 03, 2016 1:26 am 
Lives in sente

Posts: 832
Liked others: 24
Was liked: 168
It is nice to see an attempt to solve the installation woe, although I am slightly surprised to only find out about it in February. The help page isn't really fleshed out yet. :(

Code:
Starting in December 2015 the Java Web Start client and applet were abandoned. Over time Java's code signing requirements became increasingly difficult, and finally these were abandoned. The new clients include java with them, and have a client for Windows, one for Mac, and one raw .jar file for Linux systems. Instructions for each are below.

Windows

TBD

Mac

TBD

Linux

For Linux you need to use the raw .jar file. Go to the Java download page, and download and install (or install the Java that came with your Linux distribution). Then download the .jar file, and run from the shell with:

$ java -jar cgoban.jar

_________________
North Lecale

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #6 Posted: Thu Feb 04, 2016 7:20 pm 
Lives with ko

Posts: 202
Location: Santiago, Chile
Liked others: 39
Was liked: 44
Rank: EGF 1d
Universal go server handle: Jhyn
Not having to wait 30 seconds at each launch is a nice improvement compared with the old software, and well worth a one-time download.
Furthermore making a ssh tunnel is now way easier.

A positive upgrade for me.

_________________
La victoire est un hasard, la défaite une nécessité.

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #7 Posted: Tue Feb 09, 2016 5:33 pm 
Dies in gote

Posts: 21
Liked others: 1
Was liked: 1
Javaness2 wrote:
It is nice to see an attempt to solve the installation woe, although I am slightly surprised to only find out about it in February. The help page isn't really fleshed out yet. :(

Code:
Starting in December 2015 the Java Web Start client and applet were abandoned. Over time Java's code signing requirements became increasingly difficult, and finally these were abandoned. The new clients include java with them, and have a client for Windows, one for Mac, and one raw .jar file for Linux systems. Instructions for each are below.

Windows

TBD

Mac

TBD

Linux

For Linux you need to use the raw .jar file. Go to the Java download page, and download and install (or install the Java that came with your Linux distribution). Then download the .jar file, and run from the shell with:

$ java -jar cgoban.jar
It would have been nice had we been given some advanced warning. I didn't find out about this until some time in January, when someone borrowing a computer asked for help logging in on his. Those of us trying to help discovered he was an applet user, and the applet wasn't working. We then saw the change to the KGS home page.

Suggestion for KGS admins: Address this using the KGS announcement page.

Suggestion for WMS: The applet page and Web Start client download pages still exist. Change those pages with a message that those clients are no longer supported. Move (or duplicate) the link to download the GTP client.

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #8 Posted: Tue Feb 09, 2016 10:08 pm 
Lives in gote

Posts: 619
Location: Littleton, CO
Liked others: 211
Was liked: 180
Rank: KGS 4k
Universal go server handle: jeromie
I recommend testing the new client before getting rid of your old one. The jar file didn't work for me on Ubuntu 15.10 - it would freeze every time I tried to accept a game. The old Java Web Start client still works fine.

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #9 Posted: Wed Feb 10, 2016 8:17 am 
Dies with sente
User avatar

Posts: 74
Location: Near Denver, Colorado
Liked others: 11
Was liked: 6
Rank: OGS 17K
KGS: psk31
OGS: psk31
jeromie wrote:
I recommend testing the new client before getting rid of your old one. The jar file didn't work for me on Ubuntu 15.10 - it would freeze every time I tried to accept a game. The old Java Web Start client still works fine.


Same here, since this was my first install on a Linux machine (Mint, 17.3 Cinnamon) I was beginning to wonder if it was something I did. The application opens up, I can go through the setup, look in different rooms, etc., but as soon as a game starts it freezes. Luckily I was only trying to do a few bot games.

_________________
"Play confidently. Make the best of mistakes."
- Janice Kim, Learn to Play Go Vol. 1

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #10 Posted: Wed Feb 10, 2016 9:03 am 
Dies in gote

Posts: 21
Liked others: 1
Was liked: 1
Hmmm -- I also have Linux. So, I tried the running the raw .JAR file. For a test, I challenged an offer from the Golois bot. I didn't get the freeze. This is what I did get:
Quote:
Feb 10, 2016 9:29:49 AM gh <clinit>
INFO: JnlpIo: JNLP unavailable
java.lang.NoClassDefFoundError: javax/jnlp/UnavailableServiceException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
at java.lang.Class.getConstructor0(Class.java:3075)
at java.lang.Class.newInstance(Class.java:412)
at gh.<clinit>(cgoban:53)
at org.igoweb.cgoban.CGoban.<init>(cgoban:97)
at org.igoweb.cgoban.CGoban.main(cgoban:62)
Caused by: java.lang.ClassNotFoundException: javax.jnlp.UnavailableServiceException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more

Host = goserver.gokgs.com
Feb 10, 2016 9:30:54 AM ci e
INFO: Playing time warning
Feb 10, 2016 9:31:02 AM ci e
INFO: Playing time warning
Feb 10, 2016 9:31:10 AM ci e
INFO: Playing time warning
...

After the game was over, I engaged in some private chats and room chats. I had a few lines like this: FLAGS CHANGED on fh@2dfa313a

Also, clicking on a URL in a private chat and one in the EGR had no effect.


Last edited by Marathon on Wed Feb 10, 2016 9:47 am, edited 3 times in total.
Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #11 Posted: Wed Feb 10, 2016 9:13 am 
Dies in gote

Posts: 21
Liked others: 1
Was liked: 1
By the way, does the KGS client have command line arguments? For example, could I do something like this:

java -jar cgoban.jar -open=/home/marathon/games/go/foobar.sgf?

If so, what are the options, arguments, and syntax?

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #12 Posted: Thu Feb 11, 2016 4:27 pm 
Oza

Posts: 2249
Liked others: 1163
Was liked: 535
Marathon wrote:
By the way, does the KGS client have command line arguments? For example, could I do something like this:

java -jar cgoban.jar -open=/home/marathon/games/go/foobar.sgf?

If so, what are the options, arguments, and syntax?

I just use
Code:
java -jar cgoban.jar foobar.sgf

In fact, I have that wrapped in a scriptand set my file associations for sgf file to that script so I can just double-click any sgf file and have it open in CGoban

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #13 Posted: Sun Feb 21, 2016 6:09 pm 
Dies in gote

Posts: 21
Liked others: 1
Was liked: 1
Marathon wrote:
...Also, clicking on a URL in a private chat and one in the EGR had no effect.
In addition, the client did not open help pages in my browser, neither using the "Help" button in the rooms screen nor the "Help" entry in the "Help" menu from the menu bar.

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #14 Posted: Tue Jun 07, 2016 1:38 pm 
Lives in gote
User avatar

Posts: 537
Liked others: 38
Was liked: 120
Rank: 6-7k KGS
So has anybody been able to get Cgoban to work with Linux?

I downloaded the cgoban.jar file, and when I typed the java -jar cgoban.jar into the terminal, I got "Unable to access jarfile cgoban.jar".

I'm new to Linux, so I have no idea what to do next. It would be easier just to have a nice clickable shortcut....

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #15 Posted: Tue Jun 07, 2016 1:52 pm 
Oza

Posts: 2459
Location: DC
Liked others: 145
Was liked: 435
Universal go server handle: skydyr
Online playing schedule: When my wife is out.
Fedya wrote:
So has anybody been able to get Cgoban to work with Linux?

I downloaded the cgoban.jar file, and when I typed the java -jar cgoban.jar into the terminal, I got "Unable to access jarfile cgoban.jar".

I'm new to Linux, so I have no idea what to do next. It would be easier just to have a nice clickable shortcut....


You may need to change to the directory that the file is in or use a full path to the file like java -jar ./cgoban.jar or java -jar ~/Downloads/cgoban.jar or the like. The actual path depends on how your filesystem and home directory are set up, and where your browser is set to download files to, of course.

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #16 Posted: Tue Jun 07, 2016 1:55 pm 
Oza
User avatar

Posts: 2710
Location: Seattle, WA
Liked others: 248
Was liked: 533
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
Fedya wrote:
So has anybody been able to get Cgoban to work with Linux?

I downloaded the cgoban.jar file, and when I typed the java -jar cgoban.jar into the terminal, I got "Unable to access jarfile cgoban.jar".

I'm new to Linux, so I have no idea what to do next. It would be easier just to have a nice clickable shortcut....


The problem is that Linux really describes many many operating systems that run the Linux kernel. It's very hard to make and support an installer for all of them.

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #17 Posted: Tue Jun 07, 2016 4:26 pm 
Lives in gote
User avatar

Posts: 537
Liked others: 38
Was liked: 120
Rank: 6-7k KGS
Thank you, Skydyr; that did it. :salute: :bow:

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #18 Posted: Wed Jun 08, 2016 1:07 pm 
Lives in gote
User avatar

Posts: 537
Liked others: 38
Was liked: 120
Rank: 6-7k KGS
Unfortunately, when I tried to play a game, it crashed. :( I had to use the System Monitor to kill the Java process.

Linux Mint 17.3 (MATE)

Any ideas where to start? I don't want to have to boot into Windows just to play Go.

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #19 Posted: Wed Jun 08, 2016 2:07 pm 
Oza
User avatar

Posts: 2710
Location: Seattle, WA
Liked others: 248
Was liked: 533
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
Fedya wrote:
Unfortunately, when I tried to play a game, it crashed. :( I had to use the System Monitor to kill the Java process.

Linux Mint 17.3 (MATE)

Any ideas where to start? I don't want to have to boot into Windows just to play Go.


Start with java -version on the command line.

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #20 Posted: Thu Jun 09, 2016 1:46 am 
Dies with sente

Posts: 88
Liked others: 0
Was liked: 14
Fedya wrote:
Unfortunately, when I tried to play a game, it crashed. :( I had to use the System Monitor to kill the Java process.

Linux Mint 17.3 (MATE)

Any ideas where to start? I don't want to have to boot into Windows just to play Go.


To eliminate MATE (Gnome 2 fork) are you able to try launching the cgoban.jar under a different Desktop Environment such as Xfce?

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group