Warning Message when i invke the java classes

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
mysqlee
Forum Newbie
Posts: 5
Joined: Thu Mar 20, 2003 11:51 pm
Location: P.R.China

Warning Message when i invke the java classes

Post by mysqlee »

i got the following Warning Messages when i invoke the classes written in
Java.
my Java code(Test.java):
=================================
public class Test
{
public void test()
{
System.out.println("Hello World!");
}
public String kevin(String abc,String efg){
return (abc+efg);
}
}
==============================
and my PHP code:
=======================
<?php
$bean = new Java("Test");

echo $bean->kevin("i love "," you");
?>
=======================
///////////////////
i got result below:
i love you
Warning: Unknown list entry type in request shutdown (0) in Unknown on
line 0
//////////////////


i provide my php.ini setting

[Java]
java.class.path = ".\extensions\php_java.jar;e:\project\java"
java.home = D:\java\jdk1.3
java.library = d:\java\jdk1.3\jre\bin\hotspot\jvm.dll
java.library.path = "d:\web\php4\extensions"
User avatar
mysqlee
Forum Newbie
Posts: 5
Joined: Thu Mar 20, 2003 11:51 pm
Location: P.R.China

Post by mysqlee »

anyone can help me????
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

have you tried the most recent version from http://www.php.net/downloads.php ?
User avatar
mysqlee
Forum Newbie
Posts: 5
Joined: Thu Mar 20, 2003 11:51 pm
Location: P.R.China

Post by mysqlee »

sure

i use the last version download from php.net

i will try to run my scripts on Linux platform.
Post Reply