|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-09-10 02:37 UTC] chregu@php.net
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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 06:00:01 2025 UTC |
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