Hi guys,
i am trying to integrate the PHP and Java.
Actually i am trying to create the instance of a java class in php file and use it's methods.
My environment is WinXP/Apache 1.3/ PHP 5/jdk 1.5
I have done the configuration changes in the php.ini file as below;
extension=php_java.dll
java.class.path="C:\wamp\php\ext\php_java.jar;C:\P rogram Files\Java\jdk1.5.0_06\jre\lib"
java.home="C:\Program Files\Java\jdk1.5.0_06\bin"
java.library="C:\Program Files\Java\jdk1.5.0_06\jre\bin\server\jvm.dll"
java.library.path="C:\wamp\php\ext;"
The files are in the metioned place.
But, whenever i am trying to run the php file from the browser, it returns the
"Page cannot be displayed" and in the down it shows,
"Cannot find server or DNS Error"
Before that, the Visual Studio Debugger opens and shows the exception in apache.exe
that is "Unhandled exception at 0x00f9678f in Apache.exe: 0xC0000005: Access violation writing location 0xab000201."
immediately the browser displays "the page cannot be displayed".
i know so many people r working in this concept . can anyone help me.
With regards,
Subbukumararaja