I\'m pretty new on ubuntu, at some point in the terminal I\'m running:
mortar local:illustrate pigscripts/retail-recsys.pig purchase_input -f params/retail.p
Normally you can set paths in
~/.bashrc
with export JAVA_HOME=/usr/lib/jvm/java-version
However you may followe instructions from here for a comprehensive instruction.