On 30.01.2003 11:55:11 Matthew Lancashire wrote:
> I hace created an exe from ExampleXML2PDF.

Well, "exe" don't exist in Java. I guess you mean you ran the build
script in examples/embedding and now you've got a bunch of *.class files
in the build directory, right?

> How can I run this.
> I get NoClassDefFoundError.

This means that a class could not be found in the classpath. Usually,
the error message also tells you which class. And that will give you an
indicator what is missing. Next time you should provide the full error
message.

> I know very little about the runtime environment set-up!

It would be best if you got yourself a Java-for-starters book.

What you're probably missing are several JAR files in the classpath. You
need to do something like:

java -cp
lib/xml-apis.jar;lib/xercesImpl-2.2.1.jar;lib/xalan-2.4.1.jar;lib/avalon-framework-cvs-20020806.jar;lib/batik.jar;build/fop.jar;examples/embedding/build/classes
embedding.ExampleXML2PDF

> Also is it possible to use Streamed CML instead of seperate XML/XSL files?

Sorry, I don't know what you mean by "Streamed CML".

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to