You are not logged in.
Pages: 1
Hi all,
I'm trying to use jin chess to play some chess game online. I've java installed, if I type "java -version" i get the following message:
java version "1.5.0"
gij (GNU libgcj) version 4.3.3
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.
jinchess is a java application, it works using a jar file, but if I try to execute it I get the following error:
./jin
You seem to be running GNU's Java implementation, which is incomplete.
Jin requires Sun's Java (or a fully compatible version) 1.4 or later.
If you can't install it with your distribution's package manager, you
can obtain and install it manually from http://www.java.com
it comes from the sh file, where it performs the following check:
# Java command
JAVA_CMD=java
# Check if GCJ
$JAVA_CMD -version 2>&1 | grep -i -q "gcj\|gnu\|gij"
if [ $? -eq 0 ]
then
echo "You seem to be running GNU's Java implementation, which is incomplete."
echo "Jin requires Sun's Java (or a fully compatible version) 1.4 or later."
echo "If you can't install it with your distribution's package manager, you"
echo "can obtain and install it manually from http://www.java.com"
exit
fi
...
What's wrong in my version?
Thanks in advanceSOLVED]
Last edited by virusso80 (2009-05-24 14:29:05)
Offline
The error message is fairly clear. Uninstall gcc-gcj and java-gcj-compat and install openjdk6 or jre.
Offline
Pages: 1