delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/30/15:29:28

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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 30 Dec 2003 15:29:11 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Anjali Bharat Shah <anjali1 AT umbc DOT edu>
cc: cygwin AT cygwin DOT com
Subject: Re: Path Errors
In-Reply-To: <3095.68.55.203.3.1072814788.squirrel@webmail.umbc.edu>
Message-ID: <Pine.GSO.4.56.0312301515320.18706@slinky.cs.nyu.edu>
References: <3095 DOT 68 DOT 55 DOT 203 DOT 3 DOT 1072814788 DOT squirrel AT webmail DOT umbc DOT edu>
MIME-Version: 1.0

On Tue, 30 Dec 2003, Anjali Bharat Shah wrote:

> Hi,
>  I have a script file which runs fine with Linux. However, when the same
> script file when I try to run using Cygwin, I get the following error:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no XSB in java.librar
> y.path
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
>         at java.lang.System.loadLibrary(System.java:832)
>         at edu.stanford.db.xsb.XSBCore.<clinit>(XSBCore.java:148)
>         at FowlReiClient.init(FowlReiClient.java:60)
>         at ReiEngine.<init>(ReiEngine.java:43)
>         at ReiEngine.main(ReiEngine.java:102)
>
> I have verified that all paths are correct. Why still do I get this error
> message? Please help.
>
> Thanking You
> Sincerely,
> Anjali.

There is no JVM running *under* Cygwin[*].  Any JVM you invoke will be a
native Windows program.  As a consequence, it will not understand POSIX
paths, so your CLASSPATH (and other path-related variables, such as the
java.library.path property) should be in Win32 format (with '\' as the
directory separator[^], ';' as the path separator, and no mounts).  You
can use the "cygpath" utility in your script to transform paths between
POSIX and Win32 formats.
HTH,
	Igor
[*] There's gcj, but that doesn't support dynamic class loading very well,
so I'm assuming you're using something else.
[^] Windows itself understands '/' as the directory separator, but some
programs may not.
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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