Life In 19x19
http://lifein19x19.com/

KGS appear to be using "proper" installers
http://lifein19x19.com/viewtopic.php?f=24&t=12659
Page 1 of 2

Author:  Jujube [ Mon Feb 01, 2016 10:18 am ]
Post subject:  KGS appear to be using "proper" installers

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.

Author:  RobertJasiek [ Mon Feb 01, 2016 11:21 am ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  Bonobo [ Mon Feb 01, 2016 5:03 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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

Author:  Marathon [ Tue Feb 02, 2016 9:07 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  Javaness2 [ Wed Feb 03, 2016 1:26 am ]
Post subject:  Re: KGS appear to be using "proper" installers

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

Author:  Jhyn [ Thu Feb 04, 2016 7:20 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  Marathon [ Tue Feb 09, 2016 5:33 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  jeromie [ Tue Feb 09, 2016 10:08 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  psk31 [ Wed Feb 10, 2016 8:17 am ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  Marathon [ Wed Feb 10, 2016 9:03 am ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  Marathon [ Wed Feb 10, 2016 9:13 am ]
Post subject:  Re: KGS appear to be using "proper" installers

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?

Author:  xed_over [ Thu Feb 11, 2016 4:27 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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

Author:  Marathon [ Sun Feb 21, 2016 6:09 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  Fedya [ Tue Jun 07, 2016 1:38 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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

Author:  skydyr [ Tue Jun 07, 2016 1:52 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  oren [ Tue Jun 07, 2016 1:55 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  Fedya [ Tue Jun 07, 2016 4:26 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

Thank you, Skydyr; that did it. :salute: :bow:

Author:  Fedya [ Wed Jun 08, 2016 1:07 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  oren [ Wed Jun 08, 2016 2:07 pm ]
Post subject:  Re: KGS appear to be using "proper" installers

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.

Author:  longshanks [ Thu Jun 09, 2016 1:46 am ]
Post subject:  Re: KGS appear to be using "proper" installers

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?

Page 1 of 2 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/