DrStraw wrote:Kirby wrote:You could try another version of Java. When I search for other people that have had similar problems on google, a common theme seems to be that "it worked with Java version X, but not with Java version Y" (where X and Y are version numbers). Here's an example:
http://bugs.sun.com/bugdatabase/view_bu ... id=5056088So maybe you could install a different version of Java and see if it resolves the issue.
Problem is that it is my employers computer an I need the version of Java for some of the tools on there so I do not want to risk changing it.
Okay, then. If you can't change your java version, maybe you can try a hack I just made up (which seems to work for me).
First of all, are you using a Windows machine? I am assuming you're using Windows since a lot of people use Windows. I don't personally use Windows much, but here is a method that might work on Windows:
1.) Download the actual jar file (not the jnlp) from this site:
http://files.gokgs.com/javaBin/cgoban.jar2.) Open up notepad, or another text editor.
3.) Type the following text into the editor:
java -jar cgoban.jar %1
4.) Save the file in the same directory as your cgoban.jar file. Change the file extension to be BAT instead of TXT, so that it is an executable windows bat file.
5.) Go to the Windows Control Panel.
6.) Click on the Tools menu, and then "Folder Options..."
7.) Click on the "File Types" tab.
8.) See if "SGF" is listed as a registered file type. If it is not, then click on the "New" button, type SGF for the "File Extension", click "OK", then you should see an SGF entry in the list.
9.) Click on the SGF entry, and then click the "Change..." button.
10.) In the "Open With" dialog, find the bat file you saved in step 4. Select that bat file, check the "Always use the selected program to open this kind of file" checkbox, and click "OK".
This should make the cgoban.jar file open sgf files in Windows.
It is just a hack that uses the jar file directly.
By the way, if the bat file does not work, it may be because you don't have your java home directory set in your path. You can check this by opening a command window and seeing if typing "java" successfully executes the java command. If you need help setting this up, let me know, and I can provide further explanation.