I have PHP 5.0.5 and java 1.2.2. I am trying to integrate them together. I have configure the php.ini as following:
;This must point to the location of php_java.dll.
java.library.pa th = "C:\php\ext "
; This points to the directory where your Java
; classes will be stored. You can designate multiple
; paths, each path separated by a semicolon.
; It must also include the location of php_java.jar
java.classpath = "C:\php\ext\jdk 1.2.2\php_java. jar"
; This points to the bin directory of the JDK.
java.home = "C:\jdk1.2.2\bi n"
; This must point to the Java Virtual Machine (jvm.dll) file.
java.library = "C:\jdk1.2.2\jr e\bin\classic\j vm.dll"
I tried a test file but it doesn't work - always get "cannot find page" error.
Anybody can tell what's wrong?
Thanks
Harry
;This must point to the location of php_java.dll.
java.library.pa th = "C:\php\ext "
; This points to the directory where your Java
; classes will be stored. You can designate multiple
; paths, each path separated by a semicolon.
; It must also include the location of php_java.jar
java.classpath = "C:\php\ext\jdk 1.2.2\php_java. jar"
; This points to the bin directory of the JDK.
java.home = "C:\jdk1.2.2\bi n"
; This must point to the Java Virtual Machine (jvm.dll) file.
java.library = "C:\jdk1.2.2\jr e\bin\classic\j vm.dll"
I tried a test file but it doesn't work - always get "cannot find page" error.
Anybody can tell what's wrong?
Thanks
Harry
Comment