Re: php java bridge - procedure could not be found in Unknown on line 0 error
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: php java bridge - procedure could not be found in Unknown on line 0 error

From: anagai <andy.nagai@gmail.com>
Date: Wed Apr 26 2006 - 00:46:09 CEST

I am now using the latest php_java.dll. ok, now it seems to load the
php_java.dll fine, but still does not seem to load the JavaBridge.jar
yet. I dont see the normal Javabridge settings in the phpinfo()
information. I just see the java paths information. Java lib
is loaded but not Javabridge. Im trying to use this third party Java
class
called itext. When i try to create instance of this java class in php i
get

Unable to load Java Library jvm.dll, error: The specified module could
not be found. in C:\Program Files\Apache
Group\Apache2\htdocs\xcrmx\content\global\PdfControl.php on line 38

Error on the line where i try to create a java instance like this:

$this->pdfWriter = new Java('com.lowagie.text.pdf.PdfWriter');

Ive included the path to the third party class like this in php:

java.class.path = "c:\PHP\ext\JavaBridge.jar;c:\PHP\ext\itext-1.3.jar"

the second jar is the class i want to use. Its in the ext folder. Its
not loading it for some reason. I have the latest version of that jar
also. What is preventing javabridge.jar from loading?

thanks for your help
Received on Mon May 1 03:04:37 2006