php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4709 Cannot create JVM
Submitted: 2000-05-30 23:19 UTC Modified: 2000-08-20 01:56 UTC
From: aalmiray at yahoo dot com Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Release Candidate 2 OS: RedHat 6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: aalmiray at yahoo dot com
New email:
PHP Version: OS:

 

 [2000-05-30 23:19 UTC] aalmiray at yahoo dot com
When loading de Java extension examples I always get the following error:

<B>
Fatal error: Unable to locate CreateJavaVM function in /home/httpd/html/jver.php on line 4
</B>

Compile flags are:
./configure --prefix=/usr \
        --with-apxs=/usr/sbin/apxs \
        --with-config-file-path=/usr/lib \
        --with-exec-dir=/usr/bin \
        --enable-debug=no \
        --enable-debugger \
        --with-system-regex \
        --with-java=/usr/local/java/current \
        --enable-track-vars \
        --with-gd \
        --with-zlib \
        --enable-sysvsem \
        --enable-sysvshm \
        --with-xml \
        --with-swf=/usr/local/libswf 

php.ini has the following changes:
[java]
java.library.path=/usr/lib/apache:/usr/local/java/current/jre/lib:/usr/local/java/current/lib
java.library=libphp_java.so
java.home=/usr/local/java/current
java.class.path=/usr/lib/apache/php_java.jar:/usr/local/java/current/jre/lib/rt.jar:/usr/local/java/current/lib/dt.jar:/usr/local/java/current/lib/jdpa.jar:/usr/local/java/current/lib/tools/jar
extension_dir=/usr/lib/apache/
extension=libphp_java.so   

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-02 00:25 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version of PHP (release 4.0.1pl2 or CVS).
 [2000-08-20 01:56 UTC] sniper@php.net
No feedback from user.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 14:01:28 2024 UTC