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.
+ 

Reply via email to