>>>>> "WC" == Carter, Will <[EMAIL PROTECTED]> writes:

WC> I appreciate your help very much.  I am very new at this and am
WC> stumbling through this.

WC> when you say...
>> It seems you have forgotten to add the resources directory to your
WC> classpath

WC> do you mean I have forgotten to add the resources directory to my
WC> classpath when I compile SaveAsJPEG.java?  

    No he means when you run it:

    java -cp classes:resources:lib/js.jar:lib/crimson-parser.jar ...

  If you are building a jar file and running that (by double clicking
in windows or something) then you need to include the contents of the
resources directory in your JAR file (you should _NOT_ see
'resources/org/...'  if you jar-tvf the jar file you should see
'org/...')

WC> like this...(the contents of batik-src-1.1.1.zip is in my
WC> c:\xml-batik directory)

WC> javac -sourcepath c:\xml-batik\sources -classpath
WC> c:\xml-batik\resources SaveAsJPEG.java

WC> when I run this from my command line, I get these errors.  Any
WC> help would be greatly appreciated.

    Well, uhh, we certainly don't get these errors :) Are you perhaps
using JDK 1.4?  It looks like it from some of the errors.  I think for
right now you will need to compile with JDK 1.3.1

        Good luck.


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

Reply via email to