Re: [PHP4BETA] Java Support

From: Date: Mon, 13 Dec 1999 18:02:20 +0000
Subject: Re: [PHP4BETA] Java Support
Groups: php.version4 
Request: Send a blank email to php-version4+get-7865@lists.php.net to get a copy of this message
>How do I configure the BlackDown jdk to work with the PHP4 configure. When >I run ./configure --with-java I come accross the error that the no JVMs >support or something error. I do have a working Blackdown JDK 1.2.2 running >on my RHat 6.1 Linux box with the PATH and CLASSPATH variables set to all >accounts including the root account which I'm using to run the ./configure. From the current CVS ext/java/README: ======================================================================== === JVM=Sun/Blackdown 1.2pre-release-v2, OS=Linux (glibc 2.1) === ======================================================================== build instructions: ./configure --with-java=/usr/local/lib/jdk1.2 php.ini: [java] java.library=/usr/local/lib/jdk1.2/jre/lib/i386/libjava.so java.library.path=/usr/local/lib/jdk1.2/jre/lib/i386/classic:/usr/local/lib/jdk1.2/jre/lib/i386/native_threads:/usr/local/lib/jdk1.2/jre/lib/i386:/var/tmp/work/php4/modules java.class.path=/usr/local/lib/jdk1.2/jre/lib/rt.jar:/usr/local/lib/jdk1.2/jre/lib/i18n.jar:/var/tmp/work/php4/modules/php_java.jar extension_dir=/var/tmp/work/php4/modules extension=libphp_java.so You may also have to adapt your LD_LIBRARY_PATH environment variable, if you didn't add the jdk library paths to /etc/ld.so.conf : LD_LIBRARY_PATH="/usr/local/lib/jdk1.2/jre/lib/i386:/usr/local/lib/jdk1.2/jre/lib/i386/classic:/usr/local/lib/jdk1.2/jre/lib/i386/native_threads:$LD_LIBRARY_PATH"

« previous php.version4 (#7865) next »