delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/27/13:58:14

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
content-class: urn:content-classes:message
Subject: cygwin path problems
MIME-Version: 1.0
Date: Mon, 27 Jan 2003 12:57:36 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Message-ID: <34385CBC5E8E664EB0007814636AB36A20F9DF@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 h0RIwD520425

I am having a hard time understanding the cygpath. I don't know why... But anyway. I am running Win2000.
I have created a executable jar file that lives at
/usr/local/ags/libs/test.jar

And jar is good and runs from a dos window if I move the test.jar to C:/

Anyway, I am trying to run it through cygwin so I am typing the following:

spurcell AT DSGSTL-PC-1523 /cygdrive/c
$ java -jar cygpath -m /usr/local/ags/libs/makeThumbs.jar
Exception in thread "main" java.util.zip.ZipException: The system cannot find th
e file specified
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:105)
        at java.util.jar.JarFile.<init>(JarFile.java:110)
        at java.util.jar.JarFile.<init>(JarFile.java:52)

I have also tried

$ java -jar /cygdrive/usr/local/ags/libs/makeThumbs.jar
Exception in thread "main" java.util.zip.ZipException: The system cannot find th
e path specified
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:105)
        at java.util.jar.JarFile.<init>(JarFile.java:110)
        at java.util.jar.JarFile.<init>(JarFile.java:52)


I can't seem to get cygwin to run this. Could someone advise me on this.

Thanks,
Scott

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