I have followed all the steps I could find searching around and I have it pretty far along I think at least...
I am using windows 98, and pws with php installed, mostly so I can write php on my computer before I send it to my website...
So I have installed php4.04 and jdk1.3.1, I have them both working like they're supposed to be, I uncommented php_java.dll in php.ini, I set the java directories in php.ini to the right places, it loads the php_java.dll module just fine..
So I tried to run a simple test to see if java is working on it and I get this error..
Fatal error: Unable to create Java Virtual Machine
I dont know how to fix that... Is that an Internet Explorer problem? I have jvm.dll set to c:\jdk\jre\bin\hotspot\jvm.dll
I dunno if thats wrong..
Well anyways heres the test file I tried to run..
<?php
$systemInfo = new Java("java.lang.System"
print "Total seconds since January 1, 1970:
".$systemInfo->currentTimeMillis();
?>
I considered that there could be something wrong here too, only breifly though... I think the file is pretty reliable, well if anyone has set up php with pws and has java working in it.. or if anyone recognizes something I left out or might be doing wrong, it would really help me out alot.
Thanks
I am using windows 98, and pws with php installed, mostly so I can write php on my computer before I send it to my website...
So I have installed php4.04 and jdk1.3.1, I have them both working like they're supposed to be, I uncommented php_java.dll in php.ini, I set the java directories in php.ini to the right places, it loads the php_java.dll module just fine..
So I tried to run a simple test to see if java is working on it and I get this error..
Fatal error: Unable to create Java Virtual Machine
I dont know how to fix that... Is that an Internet Explorer problem? I have jvm.dll set to c:\jdk\jre\bin\hotspot\jvm.dll
I dunno if thats wrong..
Well anyways heres the test file I tried to run..
<?php
$systemInfo = new Java("java.lang.System"
print "Total seconds since January 1, 1970:
".$systemInfo->currentTimeMillis();
?>
I considered that there could be something wrong here too, only breifly though... I think the file is pretty reliable, well if anyone has set up php with pws and has java working in it.. or if anyone recognizes something I left out or might be doing wrong, it would really help me out alot.
Thanks