Geschrieben von:/Posted by: Manfred Rosenboom at 02 June 2004 19:35:57:
Als Antwort auf:/In reply to: Re: Use of Java UCI/WB Chess Engines geschrieben von:/posted by: Pablo Urzua at 01 June 2004 23:59:28:
Hello Slobodan and Manfred,
I totally agree with Slobodan.
The same happen to me with Tiffanys.Do not work. After opening Winboard chess board using jlaunch.exe, appear two popups saying "cannot load class" and "exception raised in main method" respectively, and then the engine exit from Winboard. I do not have the slightest idea what "class" cannot be load and what I have to do to be able to load the
Best,
Pablo
PS: I sent an email to Manfred explaining in detail my configuration and problem, but he had not answered it.
needed "class".
Sorry Pablo,
but I haven't got any email from you. Which email address did you use ?
But maybe I haven't made my point clear enough on my page. When I talk about Java I mean REAL Java (i.e. Sun Java) and not Microsft Java, shipped with Windows. Sun Java is only available for Windows 2000 and higher.
Slobodan: I assume, you have Microsoft Java on your machine. This Java is VERY old and also isn't compatible to Sun Java, so you have no chance to make the program run on your machine.
Pablo: "cannot load class" means, that the Java VM can't find the class file, named in the jlaunch.properties file in the property mainClassName, i.e. either the classpath is wrong or the given class name is wrong.
About Tiffany's I created a folder, named tiffanys-0.2
In this folder I have the following files:
Tiffanys.jar
changelog.txt
jlaunch.exe
jlaunch.properties
readme.txt
xtiff
xtiffd
This is the text in my jlaunch.properties file:
fullJvmPath=C:/j2sdk1.4.2_04/jre/bin/client/jvm.dll
mainClassName=ch.nostromo.tiffanys.Tiffanys
classPath=./Tiffanys.jar
You must edit the property fullJvmPath to your environment, i.e. you have to look, where you install your Sun Java JDK or JRE.
You can also wait some days and try my new version 1.1.0: if the fullJvmPath
property is not set, the program will try to locate the needed jvm.dll itself by querying the Windows registry. This will make things much easier for most of the users

Best,
Manfred