With the help of the board here I've managaged to get all of the examples working.
Now I need to figure out how to get my own objects working. Each time i try to instantiate one of my java classes, I get a java.lang.ClassNotFoundException.
Here is my setup:
I placed my class files into c:\php4\extensions and then added this to the library path:
[java]
extension=php_java.dll
java.class.path="c:\php4\php_java.jar"
java.home="C:\program files\JavaSoft\JRE\1.3"
java.library.path="c:\php4\;c:\php4\extensions\"
java.library="C:\program files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll"
Have I set the wrong variable?