CGoban3 Offline Installation
Keywords: Software, Online Go
Table of contents |
Also see /Discussion and CGoban3 Official Installation. Note that you should not send any question to admins about the methods described in the remaining part of this page or about problems you can have with those.
Macintosh, or Windows XP or earlier version of Windows
- Download the file
http://files.gokgs.com/javaBin/cgoban.jar
- Double-click on the downloaded file to start cgoban
Linux
- Download the file
http://files.gokgs.com/javaBin/cgoban.jar
- Open a terminal
- Go to the directory containing the downloaded file
- Type the command line java -jar cgoban.jar to start cgoban
Notes
This appears to not work under Debian and under Ubuntu. It is possible that it worked in the past, but that more files are now required which Java cannot find if working offline. Jenny Radcliffe.
Jenny, I had no problem running gokgs offline using Debian GNU-Linux under an AMD x64 2600 MHz. Gerardo Mirkin
- I am running Ubuntu 8.04 (Hardy Heron) and CGoban3 works just fine. I can run it from the command line (I have a short-cut in my top bar that runs the java command) and I can also Java Web Start (which works, but not like it is meant to because it does not create a desktop icon and has to be opened from the .jnlp file everytime, which is slow). The cgoban.jar file that this page is about works great. ~JFR
Windows Vista, method 1
- Do not have any CGoban installed.
- Have Windows Vista 32b installed.
- Have JRE 6_1 installed and JAR files being associated with Java.
- Allow <Java-program-path>\javaw.exe to connect to the KGS servers and ports (optionally: to the internet in general).
- Have cgoban.jar version 3.3.17 or later. You can get it from
http://files.gokgs.com/javaBin/cgoban.jar.
- Create a directory for CGoban. Here we assume that it is X:\CGoban .
- Copy cgoban.jar to that directory.
- Create a desktop link to cgoban.jar in that directory.
- In the context menu of the desktop symbol, edit the destination and make it: "X:\Program Files\<Java-directory>\bin\javaw.exe" -jar X:\CGoban\CGoban.jar
- Optional: Create and assign a different desktop symbol.
- Optional: Coldstart Windows.
- Usage: Run the program by clicking on the desktop symbol.
Remarks
- This method prevents the association of SGF files with CGoban3, and thus prevents CGoban3 from trying to make the association each time it is run.
- Insert your parameters X: and <Java-directory>. Don't forget the " " brackets around a program path including empty spaces!
- You might want to login Vista as a regular user and create a desktop link also there.
Deinstallation
- Delete cgoban.jar from that directory.
- Delete the directory.
Windows Vista, method 2
- Do not have any CGoban installed.
- Have Windows Vista 32b installed.
- Have JRE 6_1 installed and JAR files being associated with Java.
- Allow %SystemRoot%\System32\javaw.exe to connect to the KGS servers and ports (optionally: to the internet in general).
- Have cgoban.exe version 2.6.12 or later.
- Have cgoban.jar version 3.3.17 or later. You can get it from
http://files.gokgs.com/javaBin/cgoban.jar.
- Create a directory for CGoban.
- Copy cgoban.exe and cgoban.jar to that directory.
- Optional: Create a desktop link to cgoban.exe in that directory.
- Optional: Coldstart Windows.
- Usage: Run cgoban.exe.
Remarks
- Some security experts think that having java-executables in the Windows directory is a security risk.
- This method prevents the association of SGF files with CGoban3, and thus prevents CGoban3 from trying to make the association each time it is run. This can also be achieved by using the official "no file association" install listed above.
- In the above, for %SystemRoot% insert your actual system root directory. Typically this is C:\Windows
- You might want to login Vista as a regular user and create a desktop link also there.
- Currently there are no plans of KGS of providing a cgoban.exe online or allowing its uploading elsewhere. Therefore you need to have already saved an old version or otherwise resort to another method.
Deinstallation
- Delete cgoban.exe and cgoban.jar from that directory.
- Delete the directory.
Windows Vista, method 3
- Do not have any CGoban installed.
- Have Windows Vista 32b installed.
- Have JRE 6_1 installed and JAR files being associated with Java.
- Login to Vista as administrator.
- Allow %SystemRoot%\System32\java.exe to connect to the KGS servers and ports (optionally: to the internet in general).
- Have cgoban.jar version 3.3.17 or later. You can get it from
http://files.gokgs.com/javaBin/cgoban.jar
- Verify that %SystemRoot%\System32\cgoban.jar does not exist yet.
- Copy cgoban.jar to %SystemRoot%\System32\ . Confirm this action and then Vista's UAC question.
- Create a desktop link to cgoban.jar in that directory.
- In context menu | properties | destination of that desktop link, write: %SystemRoot%\System32\java.exe -jar cgoban.jar
- Coldstart Windows.
- Login Vista as administrator.
- Usage: Run the desktop link.
Remarks
- Some security experts think that having java-executables in the Windows directory is a security risk.
- This installation method does not need cgoban.exe.
- In the above, for %SystemRoot% insert your actual system root directory. Typically this is C:\Windows
- Note that this installation method requires java.exe rather than javaw.exe, both in your firewall settings and in the destination. (You may block javaw.exe in your firewall.)
- The desktop icon has a Java symbol instead of a CGoban symbol. You might want to create your own symbol and set it in context menu | properties | other symbol of that desktop link.
- Running has the side effect that also the cmd window is opened.
- You might want to login Vista as a regular user, create a desktop link also there (using the analoguous procedure for that), and later run the program as that user.
- Again, no association is made between SGF files and CGoban3.
Deinstallation
- Login Vista as administrator.
- Delete the desktop link. Confirm this, if necessary.
- Delete cgoban.jar from %SystemRoot%\System32\ . Be extremely careful to delete this file and not accidentally some other file instead. Confirm this action and then Vista's UAC question.
- Optionally: Block %SystemRoot%\System32\java.exe in your firewall.
- Coldstart Windows.
Remarks
- A setting of your firewall is not specified. As an unofficial commentary, it is recommended though to set some conditions suitable for Java.
- The command javaws can be run with the option offline if that's any use for paranoid types
- for Vista and Win7, sgf file association is possible via "DefaultProgramsEditor" (
http://defaultprogramseditor.com/): command: open, program: javaw -jar "C:\|path|\cgoban.jar" -edit "%1" (just replace |path| with the correct path to cgoban, and leave everything else as it is, incl. the quotation marks)
- using CGoban by .jnlp-file connects url-calls in the client to the default browser, while using java -jar cgoban.jar does not open urls in any browser.