|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29225 java Extention is not availabe
Submitted: 2004-07-17 13:18 UTC Modified: 2004-11-08 12:27 UTC
Avg. Score:4.9 ± 0.5
Reproduced:13 of 13 (100.0%)
Same Version:7 (53.8%)
Same OS:10 (76.9%)
From: php4web at php4web dot com Assigned:
Status: Wont fix Package: Java related
PHP Version: 5.0.0 OS: windows xp professtional
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.
Bug Type:
From: php4web at php4web dot com
New email:
PHP Version: OS:


 [2004-07-17 13:18 UTC] php4web at php4web dot com
this is no Java integration at all in PHP 5 !
there are dll but there no instrction or installation note 
the setting from php.ini for Java is removed !


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-05 17:11 UTC] mz at salon-margit dot de
java integration failure using:
*CLI Mode
*OS: Windows 2000 pro SP4
*PHP 5.0.2 (cli) (built: Sep 24 2004 01:25:41)
*Java(TM) 2 Runtime Environment, Standard Edition
 (build 1.4.2_05-b04)
 Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
Test via Docu-Example:

// get instance of Java class java.lang.System in PHP
$system = new Java('java.lang.System');

// demonstrate property access
echo 'Java version=' . $system->getProperty('java.version') . '<br />';
echo 'Java vendor=' . $system->getProperty('java.vendor') . '<br />';
echo 'OS=' . $system->getProperty('') . ' ' .
             $system->getProperty('os.version') . ' on ' .
             $system->getProperty('os.arch') . ' <br />';

// java.util.Date example
$formatter = new Java('java.text.SimpleDateFormat',
                      "EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz");

echo $formatter->format(new Java('java.util.Date'));
Results in: (translated)

(Windows) Program failure:
php.exe caused an error and got shut down.
Restart the program.

A failure protocol is created.

PHP-Info for JAVA:

java.class.path   no value   no value 
java.home         no value   no value 
java.library      jvm.dll    jvm.dll 
java.library.path no value   no value 

Best Regards
 [2004-11-08 12:27 UTC]
The Java extension is not available in PHP 5. 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jul 23 17:01:23 2021 UTC