/Desktop is probably not a real directory. Maybe you are looking for /Users/$yourname/Desktop?
Try going into your Jena download directory and using ‘pwd’. That will tell you what is the real location of $JENAROOT. --- A. Soroka The University of Virginia Library > On Oct 23, 2015, at 11:41 AM, Livier Guidat <[email protected]> wrote: > > (mm well I am "new" mac user) > > IF > export PATH="$PATH:$JENAROOT/bin" > echo $PATH > > THEN I get > /Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Desktop/Mana > /apache-jena-3.0.0/bin > > FINE, BUT after: > > cd $JENAROOT > > -bash: cd: /Desktop/Mana/apache-jena-3.0.0:* No such file or directory* > > Any clue? > > Thanks > > 2015-10-23 18:08 GMT+03:00 Andy Seaborne <[email protected]>: > >> (I'm not a mac user) >> >> On 23/10/15 10:08, Livier Guidat wrote: >> >>> Hi, >>> Well, I've checked the PATH, and this is exactly what I did: >>> >>> iMac-Devi:~ devi$ export JENAROOT=/Desktop/Mana/apache-jena-3.0.0 >>> >> >> ls -l -d $JENAROOT >> >> iMac-Devi:~ devi$ export PATH=$PATH:$JENAROOT/bin >>> >> >> export PATH="$PATH:$JENAROOT/bin" >> echo $PATH >> >> iMac-Devi:~ devi$ sparql --version >>> -bash: sparql: command not found >>> >>> AND >>> >>> iMac-Devi:~ devi$ cd DESKTOP/Mana >>> iMac-Devi:Mana devi$ ls >>> apache-jena-3.0.0 >>> iMac-Devi:Mana devi$ cd JENAROOT >>> >> >> cd $JENAROOT >> pwd -P >> ls -l bin >> >> >> -bash: cd: JENAROOT: No such file or directory >>> >>> What I am missing? >>> >>> Thanks, >>> L.G >>> >>> 2015-10-23 12:00 GMT+03:00 Andy Seaborne <[email protected]>: >>> >>> On 23/10/15 07:12, Livier Guidat wrote: >>>> >>>> What i did (simply) I was following this: >>>>> >>>>> - export JENAROOT=*the directory I downloaded Jena to* >>>>> - export PATH=$PATH:$JENAROOT/bin >>>>> >>>>> But it seems that JENAROOT isn't there as I get command not found: >>>>> >>>>> - sparql --version >>>>> -bash: sparql: *command not found* >>>>> >>>>> Any clue what to do? >>>>> >>>>> Thanks, >>>>> Liv. G. >>>>> >>>>> Check PATH: >>>>> >>>> Is JENAROOT correct and an absolute path? >>>> .. with no spaces >>>> >>>> Does the file exist? >>>> >>>> Is it marked executable? >>>> >>>> Andy >>>> >>>> >>>> >>>> >>> >>
