Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-ID: From: "Schaible, Jorg" To: "'cygwin@cygwin.com'" Subject: RE: Java NoClassDefFoundError Date: Tue, 28 Aug 2001 16:22:32 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Hi Allen, > java \ [...] >$CLASSPATH:.:run.jar:../lib/xerces.jar:../lib/crimson.jar >org.jboss.Main >tomcat Running your applications within Cygwin dos not mean that they understand Cygwin paths. I am quite sure, that you have not built your "java" with the Cygwin libraries yourself, so it cannot understand Cygwin (i.e. Unix) paths, although most "java" tools accept normal slashes in the path. So have a look at your CLASSPATH and use ; as path separator. And do not forget that you have to escape this character. Alternatively you may use cygpath to convert the Unix path to DOSish style (assuming your CLASSPATH is Unix style): java -cp $(cygpath -w $CLASSPATH:.:run.jar:../lib/xerxes.jar) Greetings, Jorg -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/