This is a classical shell issue.
Here is what I do for many different tools for many years:

 echo "export PATH=$PATH:~/apps/apache-jena-3.3.0/bin"  >> ~/.bashrc
export PATH=$PATH:~/apps/apache-jena-3.3.0/bin

which riot
/home/jmv/apps/apache-jena-3.3.0/bin/riot
riot --help
riot [--time] [--check|--noCheck] [--sink] [--base=IRI] [--out=FORMAT]
[--compress] file ...
  Parser control
      --sink                 Parse but throw away output
      --syntax=NAME          Set syntax (otherwise syntax guessed from file
extension)
      --base=URI             Set the base URI (does not apply to N-triples
and N-Quads)
      --check                Addition checking of RDF terms
...

NOTES:

   - because ~/.bashrc is changed, next time you start a shell , the
   commands are there
   - I don't do that currently, because my tools semantic_forms includes
   Jena, and the Scala console has completion


2017-12-11 9:40 GMT+01:00 Laura Morales <[email protected]>:

> As per title, I'd like to have the Jena tools in my PATH, but I don't know
> how. I mean the tools in "jena/bin/". I tried to copy "jena/bin/*" into
> "bin/" but they're not binaries, they are scripts that need some library
> that I think is available only in my "jena/" directory.
>



-- 
Jean-Marc Vanel
http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject
<http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me>
Déductions SARL - Consulting, services, training,
Rule-based programming, Semantic Web
+33 (0)6 89 16 29 52
Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui

Reply via email to