#19327 [Fbk->NoF]: java.lang.UnsatisfiedLinkError: no php_java in java.library.path

From: Date: Fri, 08 Aug 2003 11:17:51 +0000
Subject: #19327 [Fbk->NoF]: java.lang.UnsatisfiedLinkError: no php_java in java.library.path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45574@lists.php.net to get a copy of this message
 ID:               19327
 Updated by:       sniper@php.net
 Reported By:      chregu@php.net
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Java related
 Operating System: linux debian
 PHP Version:      4CVS-2002-09-10
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2003-08-02 15:07:22] iliaa@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[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
robustwu@sina.com

------------------------------------------------------------------------

[2002-10-31 12:02:54] chregu@php.net

yep, the java-extension works on my system, but only when i make this
symlink.

chregu

------------------------------------------------------------------------

[2002-10-31 11:52:43] iliaa@php.net

Did you setup the ini settings that tell the java.so where to look for
javalibs & classes?

------------------------------------------------------------------------

[2002-09-10 03:20:57] chregu@php.net

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




------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19327

-- 
Edit this bug report at http://bugs.php.net/?id=19327&edit=1



Thread (10 messages)

« previous php.bugs (#45574) next »