It started working, I create a new Java class and it worked, but when I change something in my Java class I compilate it, but php doesn't take the new value. Those are my codes:
Java class located in /var/www/testjava:
[text]
public class HelloWorld {
public String sayHello(){
return "Hello World";
}
}
[/text]
Code: Select all
<?php require_once("../JavaBridge/java/Java.inc");?>
<?php
java_require('/var/www/testjava');
$helloWorld = new Java('HelloWorld');
echo $helloWorld->sayHello()
?>
How can it happen?
Thank you so much!!!