Forum Moderators: coopster
I installed the Java SDK and at the comand prompt everything looks okay with a version check. When I try to run a basic PHP program with a Java call through the browser I keep getting the following:
Fatal error: Cannot instantiate non-existent class: java in C:\mainfolder\htdocs\listing1.php on line 3
Im sure it has something to do with the php.ini file but Ive tried everything and now Im stuck.
Here's what is in the php.ini file under java:
[Java]
java.class.path = "c:\mainfolder\php\extensions\php_java.jar;"
java.home = C:\jdk1.3.1_09
java.library = C:\jdk1.3.1_09\jre\bin\hotspot\jvm.dll
java.library.path = c:\php\extensions
what am I doing wrong?