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 <[email protected]> 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 <[email protected]>: > > > 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" <[email protected]> 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 <[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 > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>> > > >>> > > > > > > > > > > > > > >
