delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/26/09:30:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: pathing q
Date: Wed, 26 Mar 2003 08:30:36 -0600
Message-ID: <34385CBC5E8E664EB0007814636AB36A677BAD@exchange1.dimensions.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Scott Purcell" <spurcell AT vertisinc DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h2QEUxe23997

Hello,

I am trying to run a java jar file, and my app keeps telling me that it can't find any of the class files, etc. I investigated and I am seeing some flags that I cannot seem to find via the man pages. cygpath -m?

As you can see, I do have to go to /cygdrive/c in order to go to my C: drive, so in my $cpth below, do I need to mark everything as /cygdrive/c? But If I do, it would not be very portable would it? It would be nice to be able to run it with cygwin (my box) and have someone else run it if they just have a cmmd window.


Thanks,
Scott


Does not ever find classes when running with cygwin, but runs fine when I use the cmd window.

	my $cpth ="C:/com/skp/convert/altercast_sdk.jar;C:/com/skp/convert/xalan.jar;C:/com/skp/convert/xerces.jar;.";
	my $arg2 = "-path $key ";
        # print "$cpth is cpth\n";
        # my $cmmd = "java -cp " . " " . $cpth . " com.skp.convert.MakeThumbs "  . arg2 . " " . join " ", @files;
	my $cmmd = "java -cp " . " " . $cpth . " com.skp.convert.MakeThumbs -path " . $key . " " . join " ", @files;


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019