From: <php...@li...> - 2006-09-10 23:26:22
|
Hi all, First off, my knowledge of Java is very limited (thus the need for the PHP/Java bridge). I have compiled and successfully installed the bridge for PHP 5.1.6 for Mac OS X and wanted to install the PEAR class that represents a sample java class I have called HelloData (which simply prints "Hello the date is: mm/dd/yyyy"). I used the following command as per the instructions: [PROMPT] sudo java -jar /usr/local/php5/lib/php/extensions/no-debug- non-zts-20050922/JavaBridge.jar --convert /usr/local/php5/lib/php HelloDate.jar This ran for about 4 minutes before completing. I was astonished that it would take so long. After it completed I looked in the PEAR directory (/urs/local/php5/lib/php) and found several new directories: drwxr-xr-x 5 root wheel 170 Sep 10 14:19 HelloDate drwxr-xr-x 416 root wheel 14144 Sep 10 14:19 charsets drwxr-xr-x 9200 root wheel 312800 Sep 10 14:19 classes drwxr-xr-x 46 root wheel 1564 Sep 10 14:19 jce drwxr-xr-x 82 root wheel 2788 Sep 10 14:19 jsse drwxr-xr-x 119 root wheel 4046 Sep 10 14:19 laf drwxr-xr-x 106 root wheel 3604 Sep 10 14:19 ui The first extra item makes sense, since it is the Java class I asked to be created in that command. But the rest are a mystery to me (isse? laf? ui?). And the "classes" directory is HUGE. It looks like it has thousands of items (are these classes too)? My questions are: 1) What are all those other directories for when I only asked for my sample class to be made into a PEAR class? Thanks for the assistance. |