java in php not working

Problems with the Windows version of XAMPP, questions, comments, and anything related.

java in php not working

Postby thomas777neo » 11. May 2005 15:12

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?
thomas777neo
 
Posts: 1
Joined: 11. May 2005 15:00

Postby foxxx428 » 17. May 2005 09:15

Not sure if this helps but do you have a java server?
User avatar
foxxx428
 
Posts: 33
Joined: 20. December 2004 22:21

Postby conai » 15. June 2006 08:22

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??
conai
 
Posts: 1
Joined: 15. June 2006 08:17

me too

Postby jpcw » 11. April 2007 19:38

hi I trying use java bridge with xampp but it don't works....

I'm one more to the list :cry:
jpcw
 
Posts: 2
Joined: 11. April 2007 19:28

Postby ronic » 07. May 2007 11:02

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
ronic
 
Posts: 1
Joined: 07. May 2007 10:31

xampp windows 1.6.3a php java bridge

Postby ecolotte » 06. November 2007 10:11

I have the same problem :
Java library is loaded but apache.exe crash when I execute java code.
ecolotte
 
Posts: 1
Joined: 06. November 2007 10:02


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 68 guests