In order to enable this module on a Windows environment, you must copy jvm.dll from the DLL folder of the PHP / Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex:C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32)
?php / / Cet exemple ne fonctionne qu'en mode CGI. $frame = new Java("java.awt.Frame", "Zend"); $button = new Java("java.awt.Button", "Bonjour au monde Java !"); $frame - add("Nord", $button); $frame - validate(); $frame - pack(); $frame - visible = true; $thread = new Java("java.lang.Thread"); $thread - sleep(10000); $frame - dispose();?