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.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....
KGS appear to be using "proper" installers
- oren
- Oza
- Posts: 2777
- Joined: Sun Apr 18, 2010 5:54 pm
- GD Posts: 0
- KGS: oren
- Tygem: oren740, orenl
- IGS: oren
- Wbaduk: oren
- Location: Seattle, WA
- Has thanked: 251 times
- Been thanked: 549 times
Re: KGS appear to be using "proper" installers
- Fedya
- Lives in gote
- Posts: 603
- Joined: Tue Apr 20, 2010 8:21 pm
- Rank: 6-7k KGS
- GD Posts: 0
- Has thanked: 43 times
- Been thanked: 139 times
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.
Linux Mint 17.3 (MATE)
Any ideas where to start? I don't want to have to boot into Windows just to play Go.
- oren
- Oza
- Posts: 2777
- Joined: Sun Apr 18, 2010 5:54 pm
- GD Posts: 0
- KGS: oren
- Tygem: oren740, orenl
- IGS: oren
- Wbaduk: oren
- Location: Seattle, WA
- Has thanked: 251 times
- Been thanked: 549 times
Re: KGS appear to be using "proper" installers
Start with java -version on the command line.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.
-
longshanks
- Dies with sente
- Posts: 97
- Joined: Sat Nov 22, 2014 1:51 am
- GD Posts: 0
- Been thanked: 14 times
Re: KGS appear to be using "proper" installers
To eliminate MATE (Gnome 2 fork) are you able to try launching the cgoban.jar under a different Desktop Environment such as Xfce?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.
- Fedya
- Lives in gote
- Posts: 603
- Joined: Tue Apr 20, 2010 8:21 pm
- Rank: 6-7k KGS
- GD Posts: 0
- Has thanked: 43 times
- Been thanked: 139 times
Re: KGS appear to be using "proper" installers
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....
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....
-
Jhyn
- Lives with ko
- Posts: 202
- Joined: Thu Sep 26, 2013 3:03 am
- Rank: EGF 1d
- GD Posts: 0
- Universal go server handle: Jhyn
- Location: Santiago, Chile
- Has thanked: 39 times
- Been thanked: 44 times
Re: KGS appear to be using "proper" installers
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.
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.
La victoire est un hasard, la défaite une nécessité.
-
dstromberg
- Beginner
- Posts: 2
- Joined: Mon Aug 07, 2023 5:08 pm
- Rank: KGS 3 kyu
- GD Posts: 0
Re: KGS appear to be using "proper" installers
Actually, it's not that bad at all.oren wrote: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.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....
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/