Ask a Question related to PHP Development, Design and Development.
-
iliaa@php.net #1
#19327 [Opn->Fbk]: java.lang.UnsatisfiedLinkError: no php_java in java.library.path
ID: 19327
Updated by: [email]iliaa@php.net[/email]
Reported By: [email]chregu@php.net[/email]
-Status: Open
+Status: Feedback
Bug Type: Java related
Operating System: linux debian
PHP Version: 4CVS-2002-09-10
New Comment:
Please try using this CVS snapshot:
[url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]
Previous Comments:
------------------------------------------------------------------------
[2003-03-05 01:37:07] robustwu at sina dot com
I have searched many documents on phpbuilder ,but can not worked. your
information of the linux order "ln" saved me .I am so thankful to you
..:) and If somebody have the same problem ,you can contact me by mail
[email]robustwu@sina.com[/email]
------------------------------------------------------------------------
[2002-10-31 12:02:54] [email]chregu@php.net[/email]
yep, the java-extension works on my system, but only when i make this
symlink.
chregu
------------------------------------------------------------------------
[2002-10-31 11:52:43] [email]iliaa@php.net[/email]
Did you setup the ini settings that tell the java.so where to look for
javalibs & classes?
------------------------------------------------------------------------
[2002-09-10 03:20:57] [email]chregu@php.net[/email]
I looked a little bit at the code
php_java.jar tries to load the external library
libphp_java.so in reflect.java with:
System.loadLibrary(bundle.getString("library"));
library is defined in Makefile.frag ) as
@echo library=php_java > $(srcdir)/net/php/reflect.properties
but we can't change php_java to just java, because then we get
conflicts with the main libjava.so. furthermore System.loadLibrary
prepends "lib" before the library name, and searches for this name
(libphp_java.so in this example).
I didn't find a solution to tell java to look for just php_java.so ...
Does anyone know a solution to this problem?
chregu
------------------------------------------------------------------------
[2002-09-10 02:37:17] [email]chregu@php.net[/email]
A simple java test-script gives me the following error:
java.lang.UnsatisfiedLinkError: no php_java in java.library.path
when i make a symbolic link from
$extensiondir$/java.so to $extensiondir$/libphp_java.so
it works.
Didn't find a quick solution for solving that problem.
chregu
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=19327&edit=1[/url]
iliaa@php.net Guest
-
Empty java.library.path in linux stored procedure
Hello I'd like to load a native library in my linux java stored procedure using System.loadLibrary("mylib"); But the JVM didn't find the... -
java.lang.UnsatisfiedLinkError:
i have just installed coldfusion mx 7 and it is giving me the error below in the cfserver.log. so, cannot display the coldfusion administrator. what... -
Fix for "no db2jdbc in java.library.path" using Tomcat with DB2
I've seen a number of postings on this issue but no resolution that worked for me. No amount of playing around with with the Tomcat classpath or... -
#19327 [Fbk->NoF]: java.lang.UnsatisfiedLinkError: no php_java in java.library.path
ID: 19327 Updated by: sniper@php.net Reported By: chregu@php.net -Status: Feedback +Status: No... -
Can't find class java.lang.NoClassDefFoundError. (Wrong class path?)
While creating JVM, I am getting the following error: Can't find class java.lang.NoClassDefFoundError. (Wrong class path?) I gave all the...



Reply With Quote

