PHP and Java

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • IchBin

    PHP and Java

    I am trying to use Java from with in PHP. I have looked at the docs from
    PHP and still having a problem. Looks like the docs came from Zend. I
    have been looking at docs at: http://us2.php.net/java.

    When I look at the 'User Contributed Notes' I find a proliferation of
    examples to do the same thing of which I can not get to work. Some
    examples have the links in quotes and so do not. Some have multi links
    per "Java configuration option" item and some do not. It is a little
    confusing and I am a Java programmer. Example: for 'Java home' in Java
    the JAVA_HOME is the base root of your installed JDK version. I see
    examples that point to the bin subdirectory for the java.home php.ini
    value. Also should I be using the windows 8 byte dir names? I keep my
    Java JDK and JRE under 'Program Files' subdirectory

    This what I have defined int the php.ini so far:

    extension=php_j ava.dll

    [Java]
    java.class.path = "C:\php5.2\ext\ php_java.jar"
    java.home = "C:\Program Files\Java\jdk1 .5.0_07\bin"
    java.library = "C:\Program Files\Java\jre1 .5.0_07\lib"
    java.library.pa th = "C:\Program
    Files\Java\jdk1 .5.0_07\jre\bin \server\jvm.lib "

    Can anyone point me in the right direction?

    I am running:
    - Windoze XP SP 2
    - PHP 5.2
    - JDK\JRE 1.5.0_07





    Thanks in Advance...
    IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
    _______________ _______________ _______________ _______________ ______________

    'If there is one, Knowledge is the "Fountain of Youth"'
    -William E. Taylor, Regular Guy (1952-)
Working...