Hello everyone,
Okay, I have my java extension configured properly because if I do this:
$system = new Java("java.lang.System");
echo $system->getProperty("java.version");
get the version number... but if I do RELOAD this page I get the
"Unable to create Java Virtual Machine"
I then stop/start apache, and it works again, but if I reload... i get the error again (and so on).
I am using JDK from Sun v.1.3
My php.ini looks like:
[Java]
java.class.path = C:\PHP\JAVA\php_java.jar;C:\PHP\JAVA;
java.home = C:\jdk1.3
java.library = C:\jdk1.3\jre\bin\classic\jvm.dll
java.library.path = c:\php\extensions
So, why does PHP only want to create an instance of the JVM once, and then fails for any successive calls?
I've looked high and low, and haven't noticed this behavior repeated.
Thanks
./dave