You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by oualid ait wafli <ou...@gmail.com> on 2013/03/15 15:59:10 UTC

Pig Error Java_home not set

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

Re: Pig Error Java_home not set

Posted by Prashant Kommireddi <pr...@gmail.com>.
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 <ou...@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