Re: PHP/Java, Receiving Error message.

From: Date: Fri, 07 Sep 2001 04:47:43 +0000
Subject: Re: PHP/Java, Receiving Error message.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66322@lists.php.net to get a copy of this message
> Warning: java.lang.NoSuchMethodException: initialize > > Now this method definitely exists. The syntax I am using is as follows: > > $Class = new Java("long.path.to.class"); > > $Method = $Class->initialize("12345", "George", "123 spiff > Street", > "suite 121", "Hometown", "USA", "12345", > "UPG"); Wild guess: Some of those arguments need to be integer rather than string? I have no idea how it works, but since Java a variable-type language rather than data-typed, I suspect you have to pass it the right types of variables for method-matching to work. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#66322) next »