|
From: Jost B. <jos...@ya...> - 2005-10-12 16:13:40
|
Hi
[please excuse the delay]
> java_require("...;file:///C:/windows");
[...]
> java.lang.UnsatisfiedLinkError: Native library
> pfprojni could not be
> found in java_require() path.
thank you very much for this bug report.
On windows it is not possible to load classes, native
libraries or any other resources from the
java.net.URLClassLoader.
The documentation of the java.net.URLClassLoader
states that "Any URL that ends with a '/' is assumed
to refer to a directory. Otherwise, the URL is assumed
to refer to a JAR file which will be downloaded and
opened as needed", please see
http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLClassLoader.html
Because of the above requirement and since windows
always returns the backslash when we ask for the
canonical path, this cannot work, the proprietary code
in sun.misc.* always rejects it. Loading dll's from
.jar files is not possible on windows, either, because
of the slash -> backslash conversion.
I will add a workaround for version 2.0.9.
In the meantime please copy all your dll's to
c:\php5\lib\.
Please see PR1324987 for details:
http://sourceforge.net/tracker/index.php?func=detail&aid=1324987&group_id=117793&atid=679233
Thanks again for this bug report.
Regards,
Jost Boekemeier
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
|