I have a new centos 4.1 install and installed java-sdk using yum. When I
try to execute the following, I get an exception error:



root at blh fileIndexer]# java -Xmx256m -jar FileIndexer-1.1.5.jar Warning:
-Xmx256m not understood. Ignoring. Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError

java-1.4.2-gcj-compat-1.4.2.0-27jpp is the only reference to java I have
with rpm -q

How can I fix this?