Menu

[r654]: / branches / Release-3-2-1 / php-java-bridge / README.GNU_JAVA  Maximize  Restore  History

Download this file

42 lines (29 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  Using GNU Java
  --------------

  In case you don't want to ship a JVM or JRE with your product,
  you can use GNU gcc to compile the java part and your classes
  into native code. 
  In the directory php-java-bridge_p.x.y type:

   gcj --version  # must be gcj 3.3.3 or above (gcj 4.1 recommended).

   phpize && ./configure && make && su -c "make install"

  This creates a native, dynamic linked back-end in the PHP
  extension directory.  

  You can distribute the contents of the php-java-bridge-x.y.z/modules
  directory. It should contain the files "java", "libnatcJavaBridge.so",
  "java.so" (autoconf/libtool creates other files, you can delete
  them). 

  The php.ini should contain the java.log_level and java.log_file
  entries.  Example:

          extension = java.so
          [java]
          java.log_level="3"
          java.log_file="/var/log/php-java-bridge.log"
                
  Additional shared libraries can be copied into the PHP extension
  directory (see command "php-config --extension-dir"), additional
  java libraries (.jar files) can be installed in the sub-directory
  lib/ of the PHP extension directory.

------------------------------------
  Mailing List
  ------------

  Please report bugs/problems to the mailing list:

    php-java-bridge-users@lists.sourceforge.net

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.