php.net |  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
Votes:14
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php4web at php4web dot com
New email:
PHP Version: OS:

 

 [2004-07-17 13:18 UTC] php4web at php4web dot com
Description:
------------
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 !


Patches

Pull Requests

History

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)
--
PHP.ini:
extension=php_java.dll
--
Test via Docu-Example:

<?php
// 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('os.name') . ' ' .
             $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
     mz.
 [2004-11-08 12:27 UTC] john@php.net
The Java extension is not available in PHP 5. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC