All the above are downloaded from the official sites, and are thus trusty.
I install Fedora4 fully and later remove rpms related to ant(prefix 'ant-'). JDK is installed and java,javac work well.
When I intend to compile Globus Tookit, errors occur, saying sth concerning javac. It's supposed to config ant first according to the Manual. And it's what I have done before the information comming up.