Hi all,
I am trying to compile java1.3 and php4 together on red Hat 6.2. I have followed the basic steps as below
./configure --with-java
and edited the php.ini file as below
[Java]
java.class.path = /u1/install/php4/ext/java/php_java.jar
;java.home = /usr/java/jdk1.3/
java.library = /usr/java/jdk1.3/jre/lib/i386:/usr/java/jdk1.3/jre/lib/i386/native_threads:/usr/java/jdk1.3/jre/lib/i386/classic:/usr/java/jdk1.3/jre/lib/i386/hotspot
java.library.path = /u1/install/php4/modules
extension=libphp_java.so
extension_dir=/u1/install/php4/modules
I have a simple program to instatiate a public class and evoke its method to display "Hello World". I get the below error message
Fatal error: Cannot instantiate non-existent class: java in /www/htdocs/testJava.php on line 3
Can someone help me with the configuration.
Thanks a tonn