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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 - 36 = ?
Subscribe to this entry?

 
 [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: Wed Apr 24 22:01:30 2024 UTC