Me too. Here are my results on Fedora release 8 (Werewolf):

----

works:
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot(TM) Server VM (build 1.5.0_16-b02, mixed mode)

----

works:
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea Server VM (build 1.7.0-b21, mixed mode)

----

Fails in a predictably 1.4 way:
java version "1.4.2_18"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_18-b06)
Java HotSpot(TM) Client VM (build 1.4.2_18-b06, mixed mode)

Exception in thread "main" java.lang.UnsupportedClassVersionError: tesuji/games/go/main/GTPTesterMain (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
(etc.)

----

I've never had much luck with the IBM JDKs. I'd recommend switching to the official Sun version.

        ~ Ross

Stuart A. Yeates wrote:
I have a variety of java implementations installed, and here are are
results for all of them. My archiecture is:

more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.1"

All java versions below are the complete output of "java -version"
I've not differentiated between jre/jdk/toolchain, since I don't think
that compilation is an issue here (it's a hassle, I can if anyone
needs me to).

cheers
stuart

-----

works:
java version "1.6.0_0"
OpenJDK  Runtime Environment (build 1.6.0_0-b11)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)

-----

works:
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot(TM) Server VM (build 1.5.0_16-b02, mixed mode)

-----


fails:
SableVM version 1.13
- compile date and time: 2006-11-09 06:17:01 UTC
- gcc version: 4.1.2 20061103 (prerelease) (Ubuntu 4.1.1-18ubuntu2)
- 'real life brokenness' features enabled
- copying garbage collection
- bidirectional object layout
- direct-threaded interpreter

[EMAIL PROTECTED]:~/tmp/CGOS$ java -jar GTPTester.jar "java
-jar GoEngineGTP.jar"
java.lang.UnsupportedClassVersionError
   at java.lang.VMClassLoader.nativeDefineClass (VMClassLoader.java)
   at java.lang.VMClassLoader.defineClass (VMClassLoader.java:130)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:679)
   at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:108)
   at java.net.URLClassLoader.findClass (URLClassLoader.java:955)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:359)
   at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1333)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:310)
   at java.lang.VirtualMachine.main (VirtualMachine.java:99)

------

fails:
java version "1.5.0"
gij (GNU libgcj) version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Sending GTP command: name
java.io.IOException: The engine didn't respond. Possible reason:
   at tesuji.games.gtp.GTPUtil.readGTPResponse(GTPUtil.java:94)
   at tesuji.games.go.main.GTPTesterMain.main(GTPTesterMain.java:57)

------

works:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)

------




On Sat, Nov 8, 2008 at 12:27 PM, Mark Boon <[EMAIL PROTECTED]> wrote:
I have now tested my basic setup with Mac OSX, Windows and Ubuntu Linux.
Although it all works fine for me, Don still reported problems that we don't
understand.

So I would be very obliged if there are some other Linux users who would
like to give it a try. All you need to do is download a zip-file from this
location here:
https://plug-and-go.dev.java.net/files/documents/9557/115949/CGOS.zip

Unzip it, go to the CGOS directory that got extracted from the archive in a
terminal window and type:

       java -jar GTPTester.jar "java -jar GoEngineGTP.jar"

literally, with the double-quotes. Better copy-paste the whole line. If
everything goes as planned, you'll see lots of move-coordinates whiz by and
in the end it should print "Your Go engine checked out OK!". I'd like to
know if there are Linux users who see something different.

Note: this assumes you have Java 1.5 or higher installed. This can be easily
checked by typing: java -version in the terminal.

       Mark

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to