Compile Issues

Hi, I'm trying to compile Jnode (0.2.3) on the commandline by typing "ant cd-x86-lite" and I keep getting an error.

BUILD FAILED
/home/jnode/all/build.xml:321:The following error occurred while
executing this line:
/home/jnode/all/build.xml:285:The following error occurred while
executing this line:
/home/jnode/all/build-x86.xml:118:
java.lang.NoSuchMethodError:method java.lang.Class.getAnnotation with signature(Ljava.lang.Class;)Ljava.lang.annotation.Annotation;was not found.

My jre version is 1.5, OS is Fedora5 with eclipse3.1.2.
And the build.sh(jnode/build.sh) does not work either:
#sh build.sh
: command not found
/core/lib/ant-launcher.jarmanifest attribute from .
: command not found
: command not found

Any help would be appreciated.
Thanks a lot!