ID: 14908 Updated by: [EMAIL PROTECTED] Reported By: fusion at factmusic dot com -Status: No Feedback +Status: Feedback Bug Type: Java related Operating System: W2K PHP Version: 4.1.1 New Comment:
If you use the PECL extension, report the bug there. Please note that php 4.x will not get any non critical fix (security) until its very last release. Which PHP version do you use? Previous Comments: ------------------------------------------------------------------------ [2008-07-15 11:59:46] chandini882000 at yahoo dot com Even i am facing the same problem.I am trying to call java from php.For this i am using PECL extension..and i also downloaded php java bridge.But the following test code: $system = new Java('java.lang.System'); // demonstrate property access echo "Java version=" . $system->getProperty('java.version') . "<br/>"; When i execute this i got the following error: "Fatal error: java() [<a href='function.java'>function.java</a>]: Unable to create Java Virtual Machine" In php.ini i added the following thing: [java] java.home="F:\Program Files\Java\jdk1.6.0_03" java.class.path="C:\xampp\php\ext\JavaBridge.jar" java.library.path="C:\wamp\php\ext" java.library="F:\Program Files\Java\jdk1.6.0_03\jre\bin\server\jvm.dll" Then my system started give an error that "Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience."..And can anyone help me out to solve this problem? Chandini ------------------------------------------------------------------------ [2007-08-15 13:55:59] patelbhupi at yahoo dot com hello, i need to know how to configure php with java, Thanks in advance ------------------------------------------------------------------------ [2002-03-26 11:31:22] ben at gostrategic dot com I am receiving the following error using Win2k / Apache1.3.22 / PHP4.1.2 / JDK1.2.2 -- Unable to initalize Java Virtual Machine -- immediately after loading a script that uses Java. I can remedy the problem by restarting Apache, which is obviously not feasible. ------------------------------------------------------------------------ [2002-03-25 01:00:50] fusion at factmusic dot com No, I have never been able to get this to work. Maybe someone else can? ------------------------------------------------------------------------ [2002-03-25 00:00:03] php-bugs at lists dot php dot net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14908 -- Edit this bug report at http://bugs.php.net/?id=14908&edit=1