Re: Classpath when executing JAR

2004-10-12 Thread h2ooo x
java -jar ... java ignores the classpath. Presumably it expects the jar to specify its classpath. Conor h2ooo x wrote: Hi! I have the following Ant (1.6.2) tasks defined, The task "run" is executed correct but the

Classpath when executing JAR

2004-10-11 Thread h2ooo x
Hi! I have the following Ant (1.6.2) tasks defined, The task "run" is executed correct but the task "run2" produced the following error: run2: [java] java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpMethod [java] Exceptio