Facing an issue related to cronjob

Dear All,
I am facing an issue related to cronjob and explained below is the case study:

  1. I have a java class named "DmCheckRenditionQueue.java" and placed under "/cpc/documentum/product/5.2.5/tomcat/webapps/rendition"

  2. When I am using the command
    "/usr/openv/java/jre/bin/java -cp .:/cpc/documentum/shared/dfc/dfc.jar:/cpc/documentum/shared/config/ DmCheckRenditionQueue"

    the result is as expected.

  3. Now when I edit my crontab using "crontab -e" and modify the file with
    "43 * * * * /cpc/documentum/product/5.2.5/tomcat/webapps/rendition/dm_startcheckingrenditionqueue.sh>/cpc/documentum/product/5.2.5/tomcat/webapps/rendition/cronlog.log 2>&1"

I get the error message which says:
"Exception in thread "main" java.lang.NoClassDefFoundError:
DmCheckRenditionQueue"

Can someone help me in sorting out this issue?

Thanks
Paul

You should probably post the script. It's hard to diagnose the problem without it.

Carl