From: <php...@li...> - 2006-06-08 18:27:03
|
Hi, the following php.ini entries will work: extension_dir="c:/php5" java.java = "c:/Program Files/Java/jdk1.5.0/jre/bin/javaw" ;;java.socketname = "9267" Please use PHP/Java Bridge 3.0.8 with the above settings. If you uncomment the java.socketname, you must start the back-end with e.g.: java -jar JavaBridge.jar INET:9267 3 JavaBridge.log In any case please try to use forward slashes instead of windows style back-slackes for java paths (in java the backslash has a different meaning). If you use back-slashes, please do not end a path with a back-slash, for example this causes trouble: extension_dir="c:\" because the bridge code appends /JavaBridge.jar which java translates into c:<escape>JavaBridge.jar. Please do not use java.library, java.libpath, java.classpath. java.library is always ignored by the bridge, but java.library is passed to the VM as java.library.path and java.classpath is passed to the VM as java.class.path. -- The java.library and java.classpath options can be used in certain circumstances, for example when you need to use JNI libraries (impure java libraries which need external dll's: the java libraries go to the java.classpath and the dlls to the java.libpath). But usually you can ignore these options. Your port# 9167 is wrong, too. It must be 9267 or above. 9167 is reserved for the Mono/DotNET back-end. I have created a ticket for this issue, please see http://sourceforge.net/tracker/index.php?func=detail&aid=1503076&group_id=117793&atid=679233 for details. BTW: Please avoid the 3.1.0 release candidate, it has still several problems on windows and one minor issue on Unix. Please use 3.0.8 instead. Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |