Dear Valentin,
The first to do, I suppose, is to test if your JDK works. Try to open some examples from the ...\jdk(...)\demo\applets, to see if it's work. If it doesn't work, then something is wrong in your install. Try to install JDK1.2.2 from SUN or JDK1.3 from IBM. The two version work fine....
If it's work, the something could be wrong in the configuration file of PHP or the java-extension class for PHP is not in the right repertory. Check that you have the right things on the right place.
I choose to put the "php_java.jar" and "php_java.dll" in my PHP repertory (also c:\php4).
Then I install jdk1.2.2 from SUN in c:\jdk1.2.2
The I put my php.ini in c:\winnt and wrote inside:
........
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
[java]
java.class.path="c:\php4\php_java.jar;c:\jdk1.2.2\jre\lib;c:\jdk1.2.2\jre\bin\"
java.home="c:\jdk1.2.2\bin;c:\jdk1.2.2\jre\bin\"
java.library.path="c:\php4\;c:\jdk1.2.2\jre\bin\"
java.library=c:\jdk1.2.2\jre\bin\classic\jvm.dll
extension=php_java.dll
[Syslog].......
And at last, I DELETE the php.ini in my c:\php4 repertory. It was the stupid error I have gone along several days, that I don't understand why I saw no change in the way my PHP work, when I change the c:\winnt\php.ini
I hope it could help you.
By the way, the "jawt.php" really don't work on the windows machine. Perhaps because you have to use it as a cgi. But it work fine on Linux and it is now the direction I decide to follow, to study the behavior of PHP with Java.
Bonne chance!!!!!
Olivier