-Re: Running a mapreduce class in another Java program
Anh Pham 2013-12-06, 17:31
in your second java program's java file, import classes you want from
the 1st mapreduce class.
java -cp /<path>/yourMRClass.jar yourSecondClass
On Fri, Dec 6, 2013 at 11:30 AM, Anseh Danesh <[EMAIL PROTECTED]>wrote:
> Hi all.
> I write a mapreduce class and create a jar file from the class. now I want
> to use this jar in another java program. can anyone help me please how
> could I do this? I import the jar file into my second java program and now
> I want to call its method.. how can I do this? thanks