ID: 48466 Updated by: j...@php.net Reported By: jabujerry at tuks dot co dot za -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Wind XP Prof Ser Pack 2 PHP Version: 5.2.9 New Comment:
Please report bugs in PECL extensions at right place: http://pecl.php.net/bugs/ Previous Comments: ------------------------------------------------------------------------ [2009-06-03 18:30:17] jabujerry at tuks dot co dot za Description: ------------ This is what it says: Fatal error: Call to undefined function java_require() in E:\wamp\www\test\helloworld.php in line 2 And I'm sure I've configured everything correctly what might be the problem? Your help will be highly appreciated Reproduce code: --------------- helloworld.php <?php java_require('http://localhost/test/HelloWorld.jar'); $myObj = new Java('HelloWorld'); // display Hello World echo (String) $myObj->getHelloWorld(); ?> HelloWorld.java public class HelloWorld { String hw = "Hello World"; public String getHelloWorld() { return hw; } } Expected result: ---------------- Hello World Actual result: -------------- Fatal error: Call to undefined function java_require() in E:\wamp\www\test\helloworld.php in line 2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48466&edit=1