Hi Liviu,

Liviu wrote:

>> Basically you're missing xpp3_min now. However, for *writing* XML only,
>> you don't even need that (no XML parser involved), so your example should
>> work (and it works for me):
> 
> well, this is awkward...
> 
> "java -h" says -classpath should be a list separated by ;

No, it should be separated by the path separation character of your 
operating system. I am on Linux, I have to use ':'. I suppose you're on 
Windows, therefore you will have to use ';'.

> run as
> java -cp .;xstream-1.4.1.jar;xmlpull-1.1.3.1.jar Xtest
> 
> gives me the mentioned exception, but run as
> 
> java -cp .:xstream-1.4.1.jar:xmlpull-1.1.3.1.jar Xtest
> 
> gives me something else:
> Error: Could not find or load main class Xtest

If you're on Windows, this is expected. It cannot parse the classpath now at 
all.

> Besides adding jars to the classpath is there any other method for
> specifying dependencies?

No. What's the content of your directory?

- Jörg


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to