sono abbastanza nuovo su ubuntu, ad un certo punto nel terminale sto correndo:Impostazione della variabile di ambiente JAVA_HOME in Ubuntu
mortar local:illustrate pigscripts/retail-recsys.pig purchase_input -f params/retail.params
ma ho questa seguente errore:
A suitable java installation could not be found. If you already have java installed
please set your JAVA_HOME environment variable before continuing. Otherwise, a suitable java installation will need to be added to your local system.Installing Java
On OSX run
javac
from the command line. This will intiate the installation. For Linux systems please consult the documentation on your relevant package manager.
Ma sono abbastanza sicuro di avere Java, quindi per favore come posso impostare la mia variabile d'ambiente JAVA_HOME?
Ho fatto un po 'di mouse in giro e [ho trovato questa pagina del documento] (http://help.mortardata.com/data_apps/recommendation_engine/install_mortar) relativo al mortaio. Sono disposto a scommettere che è quello che vuoi usare per esportare il tuo JAVA_HOME quando lo stai eseguendo/installando. – Makoto