pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Pig Wiki] Trivial Update of "RunPig" by CorinneC
Date Wed, 10 Sep 2008 23:37:28 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.

The following page has been changed by CorinneC:
http://wiki.apache.org/pig/RunPig

------------------------------------------------------------------------------
  
  === Embedded Program ===
  
+ To compile and run an embedded Java/Pig program in local mode, follow these instructions.

+ 
+ From your current working directory, compile the program:
+ {{{
+ $ javac -cp pig.jar XXX.java
+ }}}
+ 
+ Note: XXX.class is written to your current working directory. Include “.” in the class
path when you run the program.
+ 
+ From your current working directory, run the program:
+ {{{
+ Unix:   $ java -cp pig.jar:. XXX
+ Cygwin: $ java –cp ‘.;pig.jar’ XXX
+ }}}
+ 
+ To view the results, check the output file, XXX.out.
+ 

Mime
View raw message