Hey, I know this is a lame Java question that I should be able to figure out
but I'm truly stuck.  Can someone tell me what the proper javac and java
commands would be to compile and run, respectively, the following sample
code from the Batik site?  Assume install directory of c:\batik-1.1.1\

I'm having a heck of a time getting this to run without NoClassDefFound
Exceptions.

I'm also not sure how one goes about determining which jars they need to
include in the classpath, without having to jar -tvf every one of them to
find the ones containing the classes I need...isn't there a way to include
wildcards in the javac and java -cp directive?

import org.w3c.dom.DOMImplementation;
import org.apache.batik.dom.svg.SVGDOMImplementation;

public class mytest {
        public static void main(String[] args) {
                DOMImplementation impl =
SVGDOMImplementation.getDOMImplementation();
        }
}

Thanks!
David

-------------------------------------------------------------------------
David Swearingen
Northrop-Grumman Information Technology - TASC
4801 Stonecroft Blvd.  Chantilly, VA 20151-3822
703-633-8300 x4790 voice
703-449-1610 fax
[EMAIL PROTECTED]
------------------------------------------------------------------------


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

Reply via email to