It is currently Thu Mar 20, 2025 5:34 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #21 Posted: Fri Jun 10, 2016 1:30 pm 
Lives in gote
User avatar

Posts: 603
Liked others: 43
Was liked: 139
Rank: 6-7k KGS
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.... :)

Top
 Profile  
 
Offline
 Post subject: Re: KGS appear to be using "proper" installers
Post #22 Posted: Fri Jun 10, 2016 7:21 pm 
Lives with ko

Posts: 202
Location: Santiago, Chile
Liked others: 39
Was liked: 44
Rank: EGF 1d
Universal go server handle: 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.

_________________
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 #23 Posted: Sun Dec 22, 2024 1:09 pm 
Beginner
User avatar

Posts: 2
Liked others: 0
Was liked: 0
Rank: KGS 3 kyu
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/

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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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