Ok,
First, let me say, I have looked at the manual and searched the past posts
but still can't get this to work. I also should say that this is my first
time trying to bridge php and java so this may be a stupid question....I
have a java class(DateUtil) in a package (testphp). I then took the package
and created a jar file from it and put the location of the jar file in my
php.ini file with the java settings.
In my php code, this code works fine:
$java = new Java("testphp");
$currentTime=$java->currentTimeMillis();
echo "The Time is:". $currentTime;
but if I try to access my class, I get errors that it can't instantiate
non-existent class:
$mydate=new DateUtil("testphp");
Am I doing something blatantly wrong?
Thanks,
Eddie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php