Re: Question about exectuting HDFS APIs

2011-11-01 Thread Harsh J
To add on, you can use: $ hadoop classpath To generate a full classpath string for you to reuse. On Wed, Nov 2, 2011 at 10:37 AM, Harsh J wrote: > Yudou, > > You can surely use java -jar to run your programs. You can consider two ways: > > 1. Place/pack dependent libs inside your jar, added to

Re: Question about exectuting HDFS APIs

2011-11-01 Thread Harsh J
Yudou, You can surely use java -jar to run your programs. You can consider two ways: 1. Place/pack dependent libs inside your jar, added to its classpath locations internally (via the manifest -- IDEs/build programs help you do this). Thus you do not need to specify a runtime classpath or additio