|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5795 java extension: Unable to load Java Library
Submitted: 2000-07-26 16:25 UTC Modified: 2000-12-07 11:24 UTC
From: gberger at apaara dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.1pl2 OS: Linux, Red Hat 6.1
Private report: No CVE-ID: None
 [2000-07-26 16:25 UTC] gberger at apaara dot com
compile and make run without errors, php works fine, but the java extension doesn't:
the settings are shown in phpinfo(), extension_loaded ("java") returns 1, but as soon as I try to instatniate a class (e.g. $system = new Java("java.lang.System");) the script halts:

Unable to load Java Library /usr/local/jdk1.2.2/jre/lib/i386/

but this is the path where is located. is aparently found. fiddling with path-settings in php.ini does not affect the problem.


php runs as apache module, with 
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --enable-track-vars --with-java=/usr/local/jdk1.2.2 --with-config-file-path=/usr/local/lib

jdk used is blackdown jdk1.2.2 (jdk-1.2.2-rc4-linux-i386-glibc-2.1.2.tar)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-13 20:41 UTC] references other libraries, and those libraries need to be accessible.  I've added more information into the latest README with suggestions of things to try and ways to debug the situation.
 [2000-11-08 18:19 UTC]
What is the situation with this report? Is this still a problem?

 [2000-12-07 11:24 UTC]
Reopen, if this still happens when using latest snapshot

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 02 03:01:27 2023 UTC