note 40333 added to ref.java

From: Date: Sun, 29 Feb 2004 09:16:29 +0000
Subject: note 40333 added to ref.java
Groups: php.notes 
Request: Send a blank email to php-notes+get-65985@lists.php.net to get a copy of this message
This works fine on MacOS X (Panther). The one trick is, you need to symlink "java.so" in your php extensions directory to "libphp_java.jnilib". Here's the relevant section from my php.ini file for anyone who needs it: [Java] java.class.path = "/usr/local/lib/java/php_java.jar" java.home = "/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home" java.library.path = "/usr/local/lib/php/extensions/no-debug-non-zts-20020429" extension=java.so You may have decided to put php_java.jar somewhere other than where I did. For some reason, setting java.library in the ini file causes this to fail, so I left it out and things worked flawlessly without it. YMMV. ---- Manual Page -- http://www.php.net/manual/en/ref.java.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40333 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40333&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40333&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65985) next »