Date: Mon, 21 Jan 2002 10:10:30 +0100 (CET) From: P <pck@blue.pl> To: freebsd-java@FreeBSD.ORG Subject: Fatal error: Unable to locate CreateJavaVM function in ... Message-ID: <Pine.LNX.4.43.0201201300190.4874-100000@fire.blue.pl>
next in thread | raw e-mail | index | archive | help
Hello, I'm trying to install and run php with java ext. so i've made: cd /usr/ports/java/jdk12-beta ; make && make install. added --with-java=/usr/local/jdk1.2.2 to ./configure in php. su-2.05a# cat /usr/local/etc/php.ini [java] java.home=/usr/local/jdk1.2.2 java.class.path=/usr/local/lib/php/php_java.jar:/usr/local/jdk1.1.8/lib/classes.zip extension_dir=/usr/local/lib/php/20010901 extension=libphp_java.so java.library.path=/usr/local/lib:/usr/local/lib/compat:/usr/compat/linux/lib:/usr/local/jdk1.2.2/lib/i386/green_threads:/usr/local/jdk1.2.2/jre/lib/i386:.:/usr/local/jdk1.2.2/jre/lib/i386/classic:/usr/local/jdk1.2.2/jre/lib/i386/green_threads java.library=libjava.so ldconfig -r shows: search directories: /usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/compat:/usr/local/lib/mysql: /usr/local/jdk1.2.2/jre/lib/i386:.:/usr/local/jdk1.2.2/jre/lib/i386/classic: /usr/local/jdk1.2.2/jre/lib/i386/green_threads in $PATH i've added /usr/local/jdk1.2.2/bin su-2.05a# echo $LD_LIBRARY_PATH /usr/local/lib:/usr/local/lib/compat:/usr/compat/linux/lib:/usr/local/jdk1.2.2/lib/i386/green_threads: /usr/local/jdk1.2.2/jre/lib/i386:.:/usr/local/jdk1.2.2/jre/lib/i386/classic: /usr/local/jdk1.2.2/jre/lib/i386/green_threads Then, when i try to execute java.php i've: Fatal error: Unable to locate CreateJavaVM function in /usr/home/pck/public_html/java/java.php on line 9 My java.php looks like: <? $signature = new Java(""); ?> I'm using FreeBSD4.4, apache 1.3.22, php 4.1.1, jdk 1.2.2 (from ports). Please help me. Best regards, P. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.43.0201201300190.4874-100000>