This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Path Errors

  I was using the "export" command in my script file. But that was not
working. So, I tried specifying the paths using the -classpath option with
javac and java. Thats where I got the below mentioned error. I have attached
my script file for your reference.

Thanking You

>> 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(
>>         at java.lang.Runtime.loadLibrary0(
>>         at java.lang.System.loadLibrary(
>>         at edu.stanford.db.xsb.XSBCore.<clinit>(
>>         at FowlReiClient.init(
>>         at ReiEngine.<init>(
>>         at ReiEngine.main(
>> 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.

Attachment: runrei
Description: Text document

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]