<?php try { print "Creating Java.lang.Long <BR>\n"; $obj = new java("java.lang.Long",4); $val = $obj->intValue(); printf( "integer val = $val<BR>\n" ); } catch ( Exception $e) { print "Exception message = " . $e->getMessage () . "<BR>\n"; print "Stack Trace = " . $e->stacktrace . "<BR>\n"; } ?>
Creating Java.lang.Long
*Fatal error*: java::java() [function.java <http://test-1:8080/jsr223samples/web/php/function.java>]: Unable to get jclass name for java.lang.Long in */jsr223samples/web/php/test.php* on line *40
*Another page that uses libraries that are part of the JSR223 examples JAR are working fine. Anyone have any thoughts? This might have been experienced in the previous experimental servlet support that was in PHP 4.
Thanks, Steve
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php