> -----Original Message-----
> From: Joshua TAYLOR [mailto:[email protected]]
> Sent: Monday, July 23, 2012 12:29 PM
> To: [email protected]
> Subject: Re: Unable to Run Jena'a ARQ Command Line Utility
>
> On Mon, Jul 23, 2012 at 12:10 PM, ASPSA <[email protected]> wrote:
>> I recently download the "apache-jena-2.7.2" distribution, which
>> includes "jena-arq-2.9.2.jar" under the "bin" directory.
>> Unfortunately, when I run the ARQ command line utility I receive an
>> error message. For example, when I execute
>>
>> arq --data <some valid Turtle file> --query <some valid SPARQL query
>> file>
>>
>> the command line utility returns the following error:
>>
>> Error: Could not find or load main class <Apache Jena 2.7.2
>> distribution
>> path>\ARQ
>>
>> I have the following environment, PATH and CLASSPATH variables set,
>> and I restarted my OS.
>
> Will ARQ run if you an absolute path and set just the JENAROOT variable?  For 
> instance, I can do the following:
>
> $ JENAROOT=/usr/local/lib/apache-jena-2.7.2/
> /usr/local/lib/apache-jena-2.7.2/bin/arq
> No query string or query file
>
> (I'm not a Jena developer, but a satisfied user who makes lots of use of the 
> command line utilities and recently switched to 2.7.2.)

On Tue, Jul 24, 2012 at 8:43 AM, ASPSA <[email protected]> wrote:
> I assigned the JENAROOT variable an absolute path. I simply used "<Apache 
> Jena 2.7.2 distribution path>\bat" in the post as a shortcut for the actual 
> path.

Sorry, I wasn't clear.  I meant, what happens if you set JENAROOT and
use the absolute path to the executable (so as to confirm that the
problem isn't with the value of PATH). But since you're getting a Java
error and not a shell error, I guess ARQ is running, at least.  I was
just trying to decrease the number of things that could be the
problem.  //JT

-- 
Joshua Taylor, http://www.cs.rpi.edu/~tayloj/

Reply via email to