On Linux, I use the following command to run a compiled class (the file is=
located in the root directory of eXist and does not belong to a package):
java -classpath lib/core/xmldb.jar:.:exist.jar:lib/core/xmlrpc-1.1.jar Test=
The class connects to a running eXist server. You thus need xmlrpc-1.1.jar.=
you want to use the database embedded, some additional jars are required in=
On Tuesday 20 May 2003 10:06 pm, Juan Andr=E9s Ghigliazza wrote:
> Hi there,
> After studying some differents alternatives, we decided to use eXist for
> our CWM repository (http://www.fing.edu.uy/~pgrepxml/).
> So, I have been trying to make some simple programs to get used to
> eXist, but I have had differents problems.
> First of all, I have to say that I had no problem installing eXist (I
> think), and I could run the scripts server, client, startup, etc,
> without problem, altough I didn't set the EXIST_HOME enviroment variable.
> I think that the documentation (developers's guide) is clear enough to
> start writing some code, but it say nothing about how to compile and how
> to run the programs!!! (I could write something after I learn how to).
> The first problem I had is, trying to compile RetrieveExample.java, from
> the documentation. After trying a lot of differents things, I could
> compile it, with the classpath .....eXist-0.9.1/lib/core/xmldb.jar. Am I
> choosing the rigth classpath?
> After compiling it, and having tried some things, I could not find the
> way to run it.
> Can anyone help me?, is there any documentation about these things?
> Tanks very much,
> This SF.net email is sponsored by: ObjectStore.
> If flattening out C++ or Java code to make your application fit in a
> relational database is painful, don't do it! Check out ObjectStore.
> Now part of Progress Software. http://www.objectstore.net/sourceforge
> Exist-open mailing list