qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qexo-general] Problems with RunXQuery


From: Per Bothner
Subject: Re: [Qexo-general] Problems with RunXQuery
Date: Thu, 20 Mar 2003 18:12:09 -0800
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3) Gecko/20030312

Maik Thiele wrote:
Hi,
I tried the simple "RunXQuery" class. I can compile it without
problems, but when I tried to run it I got the error:
java.lang.NoClassDefFoundError: gnu/xquery/lang/XQuery
at RunXQuery.main(RunXQuery.java:6)
Line 6 is: XQuery xq = new XQuery(); ...and I use the kawa-1.7beta1.jar and I start the class file
with following lines:
set classpath=D:\kawa-1.7beta1.jar
java RunXQuery 'for $i in 1 to 5 return $i+10'

I don't know Windows well enough (and I'd have to reboot
to check it out) to tell if this is right.  However, I
just downloaded kawa-1.7beta1.jar, and it does work for
me.  You might use the -cp option instead.  On Unix-like
systems you can do:
  java -cp .:kawa-1.7beta1.jar java RunXQuery 3+4
so I'm guess on Windows you could do:
  java -cp .;kawa-1.7beta1.jar java RunXQuery 3+4

Note the "." is so that it also finds the RunXQuery class.
--
        --Per Bothner
address@hidden   http://per.bothner.com/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]