Hey !! How are you....
I've tried to do run PHP with JAVA support enabled, (in a Win32 plattform in
this case), and when i uncommented the extension=php_java.dll, all is ok,
then i configure the [JAVA] section, with...
[Java]
java.home = c:\java
java.library = c:\java\jre\bin\classic\jvm.dll
java.library.path = c:\user\php\extensions\
java.class.path="c:\user\php\extensions\php_java.jar;c:\usr\php\java\classes
";
...then, when i run an example as...
///////////////Java
class uno{
public int numberer(){
return 800;
}
public static void main(String[] args){
System.out.println("Hello WORLD! Rober trying");
}
}
/////////////////////
and i put the .class in c:\usr\php\java\classes (my class path...i suppose
:-))
/////////////////////Php
<?php
dl("php_java.dll");
print "Robert Celestino\n";
$myj = new Java("uno");
print "Loaded\n";
print $myj->numberer();
print "Right Loaded and called\n";
?>
///////////////////////
..then this run, and say...
/*OUTPUT*/
Robert Celestino
security properties not found. using defaults.
Loaded
...and Died...Why?...(...i wait but, some is bad, because its wait, and
wait, and wait....).
..If you can help my.............THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]