You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Livier Guidat <yo...@gmail.com> on 2015/10/22 21:53:47 UTC
Using ARQ from the command line
Hi there,
I would like to use ARQ from my Mac OS10 command line, in local.
Could you please give me some additional instructions?
I've already tried by own but I can't make it to work.
Thank you for Helping me!
Sincerely
Liv. G
Re: Using ARQ from the command line
Posted by Andy Seaborne <an...@apache.org>.
On 25/10/15 08:22, Livier Guidat wrote:
> Hi Saikat,
>
> Thanks, that is exactly what I did from System Preferences Java option:
>
> Now, just one more look:
>
> iMac-Devi:~ devi$ export JENA_HOME=*/Applications/apache-jena-3.0.0*
> iMac-Devi:~ devi$ PATH=$PATH:$JENA_HOME/bin
> iMac-Devi:~ devi$ echo $PATH
> /Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/
> *Applications/apache-jena-3.0.0/bin*
>
> Right, *but *after:
>
> iMac-Devi:~ devi$ *arq --data ex002.ttl --query ex003.rq*
> Exception in thread "main" java.lang.UnsupportedClassVersionError: arq/arq
> : Unsupported major.minor version 52.0
> ...
>
> Any clue why I don't get results using the hyphen, equals and pipe symboles?
Those characaters are not a factor - it has not even started running arq.
Check the output from
java -version
Make sure it says Java 1.8
type java
If it is a symbolic link make sure it goes to the right installation.
Andy
>
> Best,
> LG.
>
>
> 2015-10-25 10:33 GMT+03:00 Saikat Maitra <sa...@gmail.com>:
>
>> Upgrading to JRE 8 or JDK 8 will help. You can upgrade your runtime
>> environment from System Preferences Java option. Another way would be to
>> download and install JDK 8 from providers.
>>
>> Regards
>> Saikat
>>
>> On Sun, Oct 25, 2015 at 11:57 AM, Livier Guidat <yo...@gmail.com>
>> wrote:
>>
>>> Hi Saikat,
>>>
>>> Greetings! You are very right the run time env of my machine is Java 7.
>> Any
>>> suggestion?
>>>
>>> Sincerely,
>>>
>>> Liv G.
>>>
>>> 2015-10-24 19:53 GMT+03:00 Saikat Maitra <sa...@gmail.com>:
>>>
>>>> This may happen if ARQ built using jdk 8 but your java runtime
>>> environment
>>>> is Java 7. Can you please share the Java run time env of your machine.
>>>>
>>>> Regards
>>>> Saikat
>>>>
>>>> On Sat, Oct 24, 2015 at 9:06 PM, Livier Guidat <yo...@gmail.com>
>>> wrote:
>>>>
>>>>> Thank you all!
>>>>>
>>>>> I removed the apache-jena-3.0.0 file to my Applications folder. It
>>> works!
>>>>> (I *was stuggling* with my mac, every thing is fine.)
>>>>>
>>>>> As I keep reading the instructions of learnigsparql.com by Bob
>>> DuCharme
>>>>> using ARQ command in local:
>>>>> I am practicing the exercices but the following command doesn't give
>>> back
>>>>> the expected result...
>>>>>
>>>>> *arq --data ex002.ttl --query ex003.rq*
>>>>>
>>>>> Exception in thread "main" java.lang.UnsupportedClassVersionError:
>>>> arq/arq
>>>>> : Unsupported major.minor version 52.0
>>>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
>>>>> at
>>>>>
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>>>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>>>>> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>>>> at
>>>>> sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
>>>>> iMac-Devi:apache-jena-3.0.0 devi$
>>>>>
>>>>> Still something is missing to my environment, or, what to do?
>>>>>
>>>>> Sincerely,
>>>>> LivG.
>>>>>
>>>>>
>>>>>
>>>>> 2015-10-24 10:37 GMT+03:00 Rob Vesse <rv...@dotnetrdf.org>:
>>>>>
>>>>>> The other thing to realise is export is only valid for the current
>>>>>> terminal window
>>>>>>
>>>>>> So if you do an export it only applies to the current terminal
>>> window,
>>>> as
>>>>>> soon as you close that window or open a different terminal window
>>> those
>>>>>> settings are gone.
>>>>>>
>>>>>> If you want them to be available in all terminal windows you need
>> to
>>>> add
>>>>>> those settings to your profile file which should be ~/.bash_profile
>>> on
>>>>> OS X
>>>>>>
>>>>>> Rob
>>>>>>
>>>>>> On 23/10/2015 19:46, "A. Soroka" <aj...@virginia.edu> wrote:
>>>>>>
>>>>>>> /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 <yogaholy@gmail.com
>>>
>>>>> 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 <an...@apache.org>:
>>>>>>>>
>>>>>>>>> (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 <an...@apache.org>:
>>>>>>>>>>
>>>>>>>>>> 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
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
Re: Using ARQ from the command line
Posted by Saikat Maitra <sa...@gmail.com>.
1. In your email I can see you are still getting Unsupported major.minor
version 52.0. Is your system has JRE 8. May be you have to restart and open
a new terminal and check the java -version.
2. I was going through the ARQ commands
https://jena.apache.org/documentation/query/cmds.html and may be we need to
use the arq wrapper arq.arq.
Also is it necessary to load and query data in same command or we need to
query the data in separate query.
$arq.arq --data ex002.ttl
$arq.arq --query ex003.rq
I have used SPARQL queries using Fuseki server and I used to load data
using s-put command and then query data using s-query command.
https://jena.apache.org/documentation/serving_data/
HTH
Regards
Saikat
On Sun, Oct 25, 2015 at 1:52 PM, Livier Guidat <yo...@gmail.com> wrote:
> Hi Saikat,
>
> Thanks, that is exactly what I did from System Preferences Java option:
>
> Now, just one more look:
>
> iMac-Devi:~ devi$ export JENA_HOME=*/Applications/apache-jena-3.0.0*
> iMac-Devi:~ devi$ PATH=$PATH:$JENA_HOME/bin
> iMac-Devi:~ devi$ echo $PATH
>
> /Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/
> *Applications/apache-jena-3.0.0/bin*
>
> Right, *but *after:
>
> iMac-Devi:~ devi$ *arq --data ex002.ttl --query ex003.rq*
> Exception in thread "main" java.lang.UnsupportedClassVersionError: arq/arq
> : Unsupported major.minor version 52.0
> ...
>
> Any clue why I don't get results using the hyphen, equals and pipe
> symboles?
>
> Best,
> LG.
>
>
> 2015-10-25 10:33 GMT+03:00 Saikat Maitra <sa...@gmail.com>:
>
> > Upgrading to JRE 8 or JDK 8 will help. You can upgrade your runtime
> > environment from System Preferences Java option. Another way would be to
> > download and install JDK 8 from providers.
> >
> > Regards
> > Saikat
> >
> > On Sun, Oct 25, 2015 at 11:57 AM, Livier Guidat <yo...@gmail.com>
> > wrote:
> >
> > > Hi Saikat,
> > >
> > > Greetings! You are very right the run time env of my machine is Java 7.
> > Any
> > > suggestion?
> > >
> > > Sincerely,
> > >
> > > Liv G.
> > >
> > > 2015-10-24 19:53 GMT+03:00 Saikat Maitra <sa...@gmail.com>:
> > >
> > > > This may happen if ARQ built using jdk 8 but your java runtime
> > > environment
> > > > is Java 7. Can you please share the Java run time env of your
> machine.
> > > >
> > > > Regards
> > > > Saikat
> > > >
> > > > On Sat, Oct 24, 2015 at 9:06 PM, Livier Guidat <yo...@gmail.com>
> > > wrote:
> > > >
> > > > > Thank you all!
> > > > >
> > > > > I removed the apache-jena-3.0.0 file to my Applications folder. It
> > > works!
> > > > > (I *was stuggling* with my mac, every thing is fine.)
> > > > >
> > > > > As I keep reading the instructions of learnigsparql.com by Bob
> > > DuCharme
> > > > > using ARQ command in local:
> > > > > I am practicing the exercices but the following command doesn't
> give
> > > back
> > > > > the expected result...
> > > > >
> > > > > *arq --data ex002.ttl --query ex003.rq*
> > > > >
> > > > > Exception in thread "main" java.lang.UnsupportedClassVersionError:
> > > > arq/arq
> > > > > : Unsupported major.minor version 52.0
> > > > > at java.lang.ClassLoader.defineClass1(Native Method)
> > > > > at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> > > > > at
> > > > >
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> > > > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> > > > > at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> > > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> > > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> > > > > at java.security.AccessController.doPrivileged(Native Method)
> > > > > at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> > > > > at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> > > > > at
> > > > >
> sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
> > > > > iMac-Devi:apache-jena-3.0.0 devi$
> > > > >
> > > > > Still something is missing to my environment, or, what to do?
> > > > >
> > > > > Sincerely,
> > > > > LivG.
> > > > >
> > > > >
> > > > >
> > > > > 2015-10-24 10:37 GMT+03:00 Rob Vesse <rv...@dotnetrdf.org>:
> > > > >
> > > > > > The other thing to realise is export is only valid for the
> current
> > > > > > terminal window
> > > > > >
> > > > > > So if you do an export it only applies to the current terminal
> > > window,
> > > > as
> > > > > > soon as you close that window or open a different terminal window
> > > those
> > > > > > settings are gone.
> > > > > >
> > > > > > If you want them to be available in all terminal windows you need
> > to
> > > > add
> > > > > > those settings to your profile file which should be
> ~/.bash_profile
> > > on
> > > > > OS X
> > > > > >
> > > > > > Rob
> > > > > >
> > > > > > On 23/10/2015 19:46, "A. Soroka" <aj...@virginia.edu> wrote:
> > > > > >
> > > > > > >/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 <
> yogaholy@gmail.com
> > >
> > > > > 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 <an...@apache.org>:
> > > > > > >>
> > > > > > >>> (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 <an...@apache.org>:
> > > > > > >>>>
> > > > > > >>>> 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
> > > > > > >>>>>
> > > > > > >>>>>
> > > > > > >>>>>
> > > > > > >>>>>
> > > > > > >>>>
> > > > > > >>>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Re: Using ARQ from the command line
Posted by Livier Guidat <yo...@gmail.com>.
Hi Saikat,
Thanks, that is exactly what I did from System Preferences Java option:
Now, just one more look:
iMac-Devi:~ devi$ export JENA_HOME=*/Applications/apache-jena-3.0.0*
iMac-Devi:~ devi$ PATH=$PATH:$JENA_HOME/bin
iMac-Devi:~ devi$ echo $PATH
/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/
*Applications/apache-jena-3.0.0/bin*
Right, *but *after:
iMac-Devi:~ devi$ *arq --data ex002.ttl --query ex003.rq*
Exception in thread "main" java.lang.UnsupportedClassVersionError: arq/arq
: Unsupported major.minor version 52.0
...
Any clue why I don't get results using the hyphen, equals and pipe symboles?
Best,
LG.
2015-10-25 10:33 GMT+03:00 Saikat Maitra <sa...@gmail.com>:
> Upgrading to JRE 8 or JDK 8 will help. You can upgrade your runtime
> environment from System Preferences Java option. Another way would be to
> download and install JDK 8 from providers.
>
> Regards
> Saikat
>
> On Sun, Oct 25, 2015 at 11:57 AM, Livier Guidat <yo...@gmail.com>
> wrote:
>
> > Hi Saikat,
> >
> > Greetings! You are very right the run time env of my machine is Java 7.
> Any
> > suggestion?
> >
> > Sincerely,
> >
> > Liv G.
> >
> > 2015-10-24 19:53 GMT+03:00 Saikat Maitra <sa...@gmail.com>:
> >
> > > This may happen if ARQ built using jdk 8 but your java runtime
> > environment
> > > is Java 7. Can you please share the Java run time env of your machine.
> > >
> > > Regards
> > > Saikat
> > >
> > > On Sat, Oct 24, 2015 at 9:06 PM, Livier Guidat <yo...@gmail.com>
> > wrote:
> > >
> > > > Thank you all!
> > > >
> > > > I removed the apache-jena-3.0.0 file to my Applications folder. It
> > works!
> > > > (I *was stuggling* with my mac, every thing is fine.)
> > > >
> > > > As I keep reading the instructions of learnigsparql.com by Bob
> > DuCharme
> > > > using ARQ command in local:
> > > > I am practicing the exercices but the following command doesn't give
> > back
> > > > the expected result...
> > > >
> > > > *arq --data ex002.ttl --query ex003.rq*
> > > >
> > > > Exception in thread "main" java.lang.UnsupportedClassVersionError:
> > > arq/arq
> > > > : Unsupported major.minor version 52.0
> > > > at java.lang.ClassLoader.defineClass1(Native Method)
> > > > at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> > > > at
> > > >
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> > > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> > > > at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> > > > at java.security.AccessController.doPrivileged(Native Method)
> > > > at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> > > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> > > > at
> > > > sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
> > > > iMac-Devi:apache-jena-3.0.0 devi$
> > > >
> > > > Still something is missing to my environment, or, what to do?
> > > >
> > > > Sincerely,
> > > > LivG.
> > > >
> > > >
> > > >
> > > > 2015-10-24 10:37 GMT+03:00 Rob Vesse <rv...@dotnetrdf.org>:
> > > >
> > > > > The other thing to realise is export is only valid for the current
> > > > > terminal window
> > > > >
> > > > > So if you do an export it only applies to the current terminal
> > window,
> > > as
> > > > > soon as you close that window or open a different terminal window
> > those
> > > > > settings are gone.
> > > > >
> > > > > If you want them to be available in all terminal windows you need
> to
> > > add
> > > > > those settings to your profile file which should be ~/.bash_profile
> > on
> > > > OS X
> > > > >
> > > > > Rob
> > > > >
> > > > > On 23/10/2015 19:46, "A. Soroka" <aj...@virginia.edu> wrote:
> > > > >
> > > > > >/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 <yogaholy@gmail.com
> >
> > > > 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 <an...@apache.org>:
> > > > > >>
> > > > > >>> (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 <an...@apache.org>:
> > > > > >>>>
> > > > > >>>> 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
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>
> > > > > >>>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
Re: Using ARQ from the command line
Posted by Saikat Maitra <sa...@gmail.com>.
Upgrading to JRE 8 or JDK 8 will help. You can upgrade your runtime
environment from System Preferences Java option. Another way would be to
download and install JDK 8 from providers.
Regards
Saikat
On Sun, Oct 25, 2015 at 11:57 AM, Livier Guidat <yo...@gmail.com> wrote:
> Hi Saikat,
>
> Greetings! You are very right the run time env of my machine is Java 7. Any
> suggestion?
>
> Sincerely,
>
> Liv G.
>
> 2015-10-24 19:53 GMT+03:00 Saikat Maitra <sa...@gmail.com>:
>
> > This may happen if ARQ built using jdk 8 but your java runtime
> environment
> > is Java 7. Can you please share the Java run time env of your machine.
> >
> > Regards
> > Saikat
> >
> > On Sat, Oct 24, 2015 at 9:06 PM, Livier Guidat <yo...@gmail.com>
> wrote:
> >
> > > Thank you all!
> > >
> > > I removed the apache-jena-3.0.0 file to my Applications folder. It
> works!
> > > (I *was stuggling* with my mac, every thing is fine.)
> > >
> > > As I keep reading the instructions of learnigsparql.com by Bob
> DuCharme
> > > using ARQ command in local:
> > > I am practicing the exercices but the following command doesn't give
> back
> > > the expected result...
> > >
> > > *arq --data ex002.ttl --query ex003.rq*
> > >
> > > Exception in thread "main" java.lang.UnsupportedClassVersionError:
> > arq/arq
> > > : Unsupported major.minor version 52.0
> > > at java.lang.ClassLoader.defineClass1(Native Method)
> > > at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> > > at
> > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> > > at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> > > at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> > > at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> > > at java.security.AccessController.doPrivileged(Native Method)
> > > at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> > > at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> > > at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> > > at
> > > sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
> > > iMac-Devi:apache-jena-3.0.0 devi$
> > >
> > > Still something is missing to my environment, or, what to do?
> > >
> > > Sincerely,
> > > LivG.
> > >
> > >
> > >
> > > 2015-10-24 10:37 GMT+03:00 Rob Vesse <rv...@dotnetrdf.org>:
> > >
> > > > The other thing to realise is export is only valid for the current
> > > > terminal window
> > > >
> > > > So if you do an export it only applies to the current terminal
> window,
> > as
> > > > soon as you close that window or open a different terminal window
> those
> > > > settings are gone.
> > > >
> > > > If you want them to be available in all terminal windows you need to
> > add
> > > > those settings to your profile file which should be ~/.bash_profile
> on
> > > OS X
> > > >
> > > > Rob
> > > >
> > > > On 23/10/2015 19:46, "A. Soroka" <aj...@virginia.edu> wrote:
> > > >
> > > > >/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 <yo...@gmail.com>
> > > 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 <an...@apache.org>:
> > > > >>
> > > > >>> (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 <an...@apache.org>:
> > > > >>>>
> > > > >>>> 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
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>
> > > > >>>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
Re: Using ARQ from the command line
Posted by Livier Guidat <yo...@gmail.com>.
Hi Saikat,
Greetings! You are very right the run time env of my machine is Java 7. Any
suggestion?
Sincerely,
Liv G.
2015-10-24 19:53 GMT+03:00 Saikat Maitra <sa...@gmail.com>:
> This may happen if ARQ built using jdk 8 but your java runtime environment
> is Java 7. Can you please share the Java run time env of your machine.
>
> Regards
> Saikat
>
> On Sat, Oct 24, 2015 at 9:06 PM, Livier Guidat <yo...@gmail.com> wrote:
>
> > Thank you all!
> >
> > I removed the apache-jena-3.0.0 file to my Applications folder. It works!
> > (I *was stuggling* with my mac, every thing is fine.)
> >
> > As I keep reading the instructions of learnigsparql.com by Bob DuCharme
> > using ARQ command in local:
> > I am practicing the exercices but the following command doesn't give back
> > the expected result...
> >
> > *arq --data ex002.ttl --query ex003.rq*
> >
> > Exception in thread "main" java.lang.UnsupportedClassVersionError:
> arq/arq
> > : Unsupported major.minor version 52.0
> > at java.lang.ClassLoader.defineClass1(Native Method)
> > at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> > at
> > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> > at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> > at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> > at
> > sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
> > iMac-Devi:apache-jena-3.0.0 devi$
> >
> > Still something is missing to my environment, or, what to do?
> >
> > Sincerely,
> > LivG.
> >
> >
> >
> > 2015-10-24 10:37 GMT+03:00 Rob Vesse <rv...@dotnetrdf.org>:
> >
> > > The other thing to realise is export is only valid for the current
> > > terminal window
> > >
> > > So if you do an export it only applies to the current terminal window,
> as
> > > soon as you close that window or open a different terminal window those
> > > settings are gone.
> > >
> > > If you want them to be available in all terminal windows you need to
> add
> > > those settings to your profile file which should be ~/.bash_profile on
> > OS X
> > >
> > > Rob
> > >
> > > On 23/10/2015 19:46, "A. Soroka" <aj...@virginia.edu> wrote:
> > >
> > > >/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 <yo...@gmail.com>
> > 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 <an...@apache.org>:
> > > >>
> > > >>> (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 <an...@apache.org>:
> > > >>>>
> > > >>>> 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
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>>>>
> > > >>>>
> > > >>>
> > > >
> > >
> > >
> > >
> > >
> > >
> >
>
Re: Using ARQ from the command line
Posted by Saikat Maitra <sa...@gmail.com>.
This may happen if ARQ built using jdk 8 but your java runtime environment
is Java 7. Can you please share the Java run time env of your machine.
Regards
Saikat
On Sat, Oct 24, 2015 at 9:06 PM, Livier Guidat <yo...@gmail.com> wrote:
> Thank you all!
>
> I removed the apache-jena-3.0.0 file to my Applications folder. It works!
> (I *was stuggling* with my mac, every thing is fine.)
>
> As I keep reading the instructions of learnigsparql.com by Bob DuCharme
> using ARQ command in local:
> I am practicing the exercices but the following command doesn't give back
> the expected result...
>
> *arq --data ex002.ttl --query ex003.rq*
>
> Exception in thread "main" java.lang.UnsupportedClassVersionError: arq/arq
> : Unsupported major.minor version 52.0
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at
> sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
> iMac-Devi:apache-jena-3.0.0 devi$
>
> Still something is missing to my environment, or, what to do?
>
> Sincerely,
> LivG.
>
>
>
> 2015-10-24 10:37 GMT+03:00 Rob Vesse <rv...@dotnetrdf.org>:
>
> > The other thing to realise is export is only valid for the current
> > terminal window
> >
> > So if you do an export it only applies to the current terminal window, as
> > soon as you close that window or open a different terminal window those
> > settings are gone.
> >
> > If you want them to be available in all terminal windows you need to add
> > those settings to your profile file which should be ~/.bash_profile on
> OS X
> >
> > Rob
> >
> > On 23/10/2015 19:46, "A. Soroka" <aj...@virginia.edu> wrote:
> >
> > >/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 <yo...@gmail.com>
> 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 <an...@apache.org>:
> > >>
> > >>> (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 <an...@apache.org>:
> > >>>>
> > >>>> 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
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>
> > >>>
> > >
> >
> >
> >
> >
> >
>
Re: Using ARQ from the command line
Posted by Livier Guidat <yo...@gmail.com>.
Thank you all!
I removed the apache-jena-3.0.0 file to my Applications folder. It works!
(I *was stuggling* with my mac, every thing is fine.)
As I keep reading the instructions of learnigsparql.com by Bob DuCharme
using ARQ command in local:
I am practicing the exercices but the following command doesn't give back
the expected result...
*arq --data ex002.ttl --query ex003.rq*
Exception in thread "main" java.lang.UnsupportedClassVersionError: arq/arq
: Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
iMac-Devi:apache-jena-3.0.0 devi$
Still something is missing to my environment, or, what to do?
Sincerely,
LivG.
2015-10-24 10:37 GMT+03:00 Rob Vesse <rv...@dotnetrdf.org>:
> The other thing to realise is export is only valid for the current
> terminal window
>
> So if you do an export it only applies to the current terminal window, as
> soon as you close that window or open a different terminal window those
> settings are gone.
>
> If you want them to be available in all terminal windows you need to add
> those settings to your profile file which should be ~/.bash_profile on OS X
>
> Rob
>
> On 23/10/2015 19:46, "A. Soroka" <aj...@virginia.edu> wrote:
>
> >/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 <yo...@gmail.com> 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 <an...@apache.org>:
> >>
> >>> (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 <an...@apache.org>:
> >>>>
> >>>> 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
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>
> >
>
>
>
>
>
Re: Using ARQ from the command line
Posted by Rob Vesse <rv...@dotnetrdf.org>.
The other thing to realise is export is only valid for the current
terminal window
So if you do an export it only applies to the current terminal window, as
soon as you close that window or open a different terminal window those
settings are gone.
If you want them to be available in all terminal windows you need to add
those settings to your profile file which should be ~/.bash_profile on OS X
Rob
On 23/10/2015 19:46, "A. Soroka" <aj...@virginia.edu> wrote:
>/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 <yo...@gmail.com> 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 <an...@apache.org>:
>>
>>> (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 <an...@apache.org>:
>>>>
>>>> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>
Re: Using ARQ from the command line
Posted by "A. Soroka" <aj...@virginia.edu>.
/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 <yo...@gmail.com> 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 <an...@apache.org>:
>
>> (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 <an...@apache.org>:
>>>
>>> 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
>>>>
>>>>
>>>>
>>>>
>>>
>>
Re: Using ARQ from the command line
Posted by Andy Seaborne <an...@apache.org>.
On 23/10/15 16:41, Livier Guidat 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
no guarantee that any of those directories exist.
>
> FINE, BUT after:
>
> cd $JENAROOT
>
> -bash: cd: /Desktop/Mana/apache-jena-3.0.0:* No such file or directory*
>
> Any clue?
Find out which bit of the path does not exist or isn't a directory.
ls -d /Desktop
ls -d /Desktop/Mana
ls -d /Desktop/Mana/apache-jena-3.0.0
Your desktop isn't at /Desktop ?
Is it /Users/????/Desktop? (== ~/Desktop == $HOME/Desktop)
Andy
>
> Thanks
>
> 2015-10-23 18:08 GMT+03:00 Andy Seaborne <an...@apache.org>:
>
>> (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 <an...@apache.org>:
>>>
>>> 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
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
Re: Using ARQ from the command line
Posted by Livier Guidat <yo...@gmail.com>.
(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 <an...@apache.org>:
> (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 <an...@apache.org>:
>>
>> 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
>>>
>>>
>>>
>>>
>>
>
Re: Using ARQ from the command line
Posted by Andy Seaborne <an...@apache.org>.
(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 <an...@apache.org>:
>
>> 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
>>
>>
>>
>
Re: Using ARQ from the command line
Posted by Livier Guidat <yo...@gmail.com>.
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
iMac-Devi:~ devi$ export PATH=$PATH:$JENAROOT/bin
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
-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 <an...@apache.org>:
> 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
>
>
>
Re: Using ARQ from the command line
Posted by Andy Seaborne <an...@apache.org>.
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
Re: Using ARQ from the command line
Posted by Livier Guidat <yo...@gmail.com>.
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.
Re: Using ARQ from the command line
Posted by "A. Soroka" <aj...@virginia.edu>.
What exactly are you trying to do and what have you tried?
---
A. Soroka
The University of Virginia Library
> On Oct 22, 2015, at 3:53 PM, Livier Guidat <yo...@gmail.com> wrote:
>
> Hi there,
>
> I would like to use ARQ from my Mac OS10 command line, in local.
>
> Could you please give me some additional instructions?
> I've already tried by own but I can't make it to work.
>
> Thank you for Helping me!
>
>
> Sincerely
> Liv. G