export JAVA_HOME=<path/to/java> on your local machine. Even better if you can add it to your .bashrc or .profile or their equivalents.
On Mar 15, 2013, at 7:59 AM, oualid ait wafli <oualid.aitwa...@gmail.com> wrote: > Hi > > I am beginner at Pig > > I want start it but I dont know how to fix fix the java_home error ! > how set the Java_home variable please > > thanks