Importing Libraries in to script

We were trying to write a script on our own in Java in Rational Functional Tester 8.2.

1. We are unable to run the script.
"usage: dumpmem filename" is the error which we are getting. What is the cause of this error ?

2. We would also like to know which libraries we have to import to run this main given
public void testMain(Object[] args)

3. How can we find the list of libraries which need to be imported for running different kinds of applications ?