Grokbase Groups PHP php-dev May 2001
FAQ
ID: 9897
Updated by: sniper
Reported By: robin@xs.mw
Status: Feedback
Bug Type: Java related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:

Are you planning on answering?



Previous Comments:
---------------------------------------------------------------------------

[2001-04-16 06:53:05] jmoore@php.net
Does this happen after the creation of the third JVM??

-James

---------------------------------------------------------------------------

[2001-03-21 06:09:45] robin@xs.mw
The following:

$system = new Java("java.lang.System");
print("Java version: " . $system->getProperty("java.version") . "<BR>n");
$formatter = new Java("java.text.SimpleDateFormat", "EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz");
print($formatter->format(new Java("java.util.Date")) . "<BR>n");

produces the error "Unable to create Java Virtual Machine in xyz.php on line XX" under PHP 4.0.5RC1 as well as the latest 4.0.4 off the php.net site.

my php.ini section is:

extension=php_java.dll
java.library.path = "C:Inetpubphpextensions;C:Inetpubjdk-1.3jrebin;C:Inetpubjdk-1.3jrelib;C:Inetpubjdk-1.3lib"
java.library = C:Inetpubjdk-1.3jrebinclassicjvm.dll
java.class.path = "C:Inetpubphpextensionsphp_java.jar"
java.home = "C:Inetpubjdk-1.3bin;C:Inetpubjdk-1.3jrebin;C:Inetpubjdk-1.3jrelib;C:Inetpubjdk-1.3lib"

Im using J2SDK 1.3

The script actually works the first few times (the ammount of times varies) but then continuously fails. I've seen numerous reports of people with the same problem on http://www.phpbuilder.net

Installing an another machine with the same config, reproduces the same error.

It also appears to be somewhat related to bug # 6617 (http://www.php.net/bugs.php?id=6617) and # 6925 (http://www.php.net/bugs.php?id=6925)

Are there any plans to tackle these issues?

Robin

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9897&edit=2

Search Discussions

  • Robin at May 10, 2001 at 10:10 am
    Sorry yes, I'd forgotten the original message. apologies for that.
    yes the error occurs from the 3rd JVM onwards.

    Robin
    On 10 May 2001, Bug Database wrote:

    ID: 9897
    Updated by: sniper
    Reported By: robin@xs.mw
    Status: Feedback
    Bug Type: Java related
    Operating system:
    PHP Version: 4.0.4pl1
    Assigned To:
    Comments:

    Are you planning on answering?



    Previous Comments:
    ---------------------------------------------------------------------------

    [2001-04-16 06:53:05] jmoore@php.net
    Does this happen after the creation of the third JVM??

    -James

    ---------------------------------------------------------------------------

    [2001-03-21 06:09:45] robin@xs.mw
    The following:

    $system = new Java("java.lang.System");
    print("Java version: " . $system->getProperty("java.version") . "<BR>n");
    $formatter = new Java("java.text.SimpleDateFormat", "EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz");
    print($formatter->format(new Java("java.util.Date")) . "<BR>n");

    produces the error "Unable to create Java Virtual Machine in xyz.php on line XX" under PHP 4.0.5RC1 as well as the latest 4.0.4 off the php.net site.

    my php.ini section is:

    extension=php_java.dll
    java.library.path = "C:Inetpubphpextensions;C:Inetpubjdk-1.3jrebin;C:Inetpubjdk-1.3jrelib;C:Inetpubjdk-1.3lib"
    java.library = C:Inetpubjdk-1.3jrebinclassicjvm.dll
    java.class.path = "C:Inetpubphpextensionsphp_java.jar"
    java.home = "C:Inetpubjdk-1.3bin;C:Inetpubjdk-1.3jrebin;C:Inetpubjdk-1.3jrelib;C:Inetpubjdk-1.3lib"

    Im using J2SDK 1.3

    The script actually works the first few times (the ammount of times varies) but then continuously fails. I've seen numerous reports of people with the same problem on http://www.phpbuilder.net

    Installing an another machine with the same config, reproduces the same error.

    It also appears to be somewhat related to bug # 6617 (http://www.php.net/bugs.php?id=6617) and # 6925 (http://www.php.net/bugs.php?id=6925)

    Are there any plans to tackle these issues?

    Robin

    ---------------------------------------------------------------------------



    ATTENTION! Do NOT reply to this email!
    To reply, use the web interface found at http://bugs.php.net/?id=9897&edit=2

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-dev @
categoriesphp
postedMay 10, '01 at 9:48a
activeMay 10, '01 at 10:10a
posts2
users2
websitephp.net

2 users in discussion

Robin: 1 post Sniper: 1 post

People

Translate

site design / logo © 2022 Grokbase