[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] java setup (slightly off topic :)



<postneo@xxxxxxxxxxxxxxxxx> writes:

> While not strictly a go problem ....
> can anyone tell me how to setup the java environment so that I can run
> kgsGtp as a robot ??
> when running the application it complains that it cant load a java virtual
> machine.

> [agray@hal java]$ java -jar kgsGtp.jar /etc/KGSgtp.conf
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> org/igoweb/igoweb/client/gtp/GtpClient (Unsupported major.minor version
> 49.0)

It is trying to tell you what's wrong... the class you are trying to
feed it is incompatible.

I ought to know what the various major/minor numbers correspond to,
but I don't off-hand.

My only guess is that the client was compiled using jdk 1.5 and so
cannot run (by default) on jdk 1.4

> Anyone got any ideas what else I need to do ?? Have tried various
> combinations of the PATH without success.
>

Have you tried running the samples that came with the jdk ? Or any of
the tools implemented in java (eg keytool)


dd
-- 
Dave Denholm              <ddenholm@xxxxxxxxxxxxxxxxx>       http://www.esmertec.com
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/