Page 2 of 2
Re: KGS appear to be using "proper" installers
Posted: Tue Jun 07, 2016 1:55 pm
by 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.
Re: KGS appear to be using "proper" installers
Posted: Tue Jun 07, 2016 4:26 pm
by Fedya
Thank you, Skydyr; that did it.

Re: KGS appear to be using "proper" installers
Posted: Wed Jun 08, 2016 1:07 pm
by Fedya
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.
Re: KGS appear to be using "proper" installers
Posted: Wed Jun 08, 2016 2:07 pm
by 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.
Re: KGS appear to be using "proper" installers
Posted: Thu Jun 09, 2016 1:46 am
by longshanks
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?
Re: KGS appear to be using "proper" installers
Posted: Fri Jun 10, 2016 1:30 pm
by Fedya
I asked on KGS, and apparently KGS doesn't play nicely with the Linux OpenJRE. So had I had to download the Oracle JRE and install that. Fun, fun, fun. (I've ended up with an archive file where there should be the folder usr/local/java, and there doesn't seem to be any way to delete it.) After a good hour of work, I finally got things to load properly and was able to play a free game against MFoG without Cgoban crashing.
Now if I just knew how to make a script that runs the appropriate terminal command to open cgoban.jar the way a Windows shortcut works....

Re: KGS appear to be using "proper" installers
Posted: Fri Jun 10, 2016 7:21 pm
by Jhyn
Hi Fedya,
You should be able to obtain this result as follows:
1. Create a text file named KGS.sh (or whatever you want)
2. On the first line, write #!/bin/sh
3. Enter the list of commands to be executed, one per line. (in your case it should be only one)
4. In a terminal, enter the command "chmod +x KGS.sh" to make the file executable.
Normally, double-clicking on the file should execute it or open a menu with an option to execute it.
Re: KGS appear to be using "proper" installers
Posted: Sun Dec 22, 2024 1:09 pm
by dstromberg
oren wrote: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.
Actually, it's not that bad at all.
Here's an installer I wrote that supports the Debian family, the Redhat family, and the Arch family of Linuxes. That covers most of what most people refer to as "Linux", though it probably doesn't do Android or ChromeOS:
https://stromberg.dnsalias.org/~strombr ... l-cgoban3/