Igor Gorelikov wrote:While trying to run PsycoChess 1.38 under Windows 98 I get the following:
java Giocatore
Exception in thread "main" java.lang.NoClassDefFoundError: Giocatore
Igor
Just a hint, with some java setups, you might need to try:
java -cp . Giocatore
(i.e., tell java that the classpath should include the current directory.)
However, I also tried to compile the program and run on windows and it didn't work for me either. I get the following error after trying to play:
C:\temp\pchess>java Giocatore
feature done=0 ping=0 usermove=1 time=0 draw=0 reuse=0 analyze=0 myname="Giocatore" variants="normal" colors=0 sigint=0 sigterm=0 done=1
xboard
new
random
force
level 40 5 0
post
usermore e2e4
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at Scacchiera.aggiungiPezzo(Scacchiera.java:322)
at Scacchiera.unMakeMossa(Scacchiera.java:758)
at ListaMosse.eliminaIllegali(ListaMosse.java:496)
at BestMove.AlphaBeta(BestMove.java:164)
at BestMove.AlphaBeta(BestMove.java:198)
at BestMove.search(BestMove.java:76)
at Giocatore.main(Giocatore.java:231)
It crashes under winboard, too.
Michael