1. First update CLASSPATH env variable:
CLASSPATH=$JAVA_TOP:$CLASSPATH
export CLASSPATH
if you want to check it.
echo $CLASSPATH
2. Generate Data Template:
java oracle.apps.xdo.rdfparser.DataTemplateGenerator {RDF file name converted as XML}
3. Generate RTF Template:
ava oracle.apps.xdo.rdfparser.RTFTemplateGenerator {RDF file name converted as XML}
and that is it.