Page 1 of 1

java in php not working

PostPosted: 11. May 2005 15:12
by thomas777neo
If I try and create a new java object ($java = new Java();) using the xampp installation, my apache server crashes.

Here is my php.ini settings:

extension=php_java.dll

[Java]
java.class.path = C:\xampp\php\extensions\php_java.jar
java.home = C:\Program Files\Java\jdk1.5.0\bin
java.library = C:\Program Files\Java\jdk1.5.0\jre\bin\client\jvm.dll
java.library.path = C:\xampp\php\extensions

Any ideas why?

PostPosted: 17. May 2005 09:15
by foxxx428
Not sure if this helps but do you have a java server?

PostPosted: 15. June 2006 08:22
by conai
The same thing happens to me i got this php.ini settings

[Java]
java.library.path="C:\j2sdk1.4.2_11\jre\bin\client\jvm.dll"
java.class.path="c:\web\php4\extensions\jdk1.2.2\php_java.jar;c:\myclasses"

Anyone here can help us??

me too

PostPosted: 11. April 2007 19:38
by jpcw
hi I trying use java bridge with xampp but it don't works....

I'm one more to the list :cry:

PostPosted: 07. May 2007 11:02
by ronic
I want the same problem with php-java bridge :cry: I see the error : Fatal error: Class 'java' not found in F:\XAMPP\xampp\htdocs\test.php on line 6

Any ideas???
Help pls

xampp windows 1.6.3a php java bridge

PostPosted: 06. November 2007 10:11
by ecolotte
I have the same problem :
Java library is loaded but apache.exe crash when I execute java code.