|
From: <php...@li...> - 2009-04-21 11:48:23
|
Jost,
I've done it:
public class TestCase {
public ArrayList add(String a,String b){
but now "ClassNotFoundException"......
Well, am I right if I think, that it will work if I use "java_values($object-> add ($hund,$ball) );"
<?php
require_once("java/Java.inc");
$System = java("java.lang.System");
$object = new Java( "TestCase");
$result = java_values($object-> add ($hund,$ball) );
print_r($result);
?>
Or do I need anything else????
Thanks in advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|