Php and Java integration
Posted: Tue Mar 24, 2009 5:53 pm
Hi ,I am new to PHP.
I am using Jasper reports in PHP so I am using PHP-Java Bridge. And that is enabled I am able to run a sample file printing the java version etc. that works fine..
But when try to create an instance of Java class from Jasper reports jar in php code . It throws class not found exception.
I tried including the path of the jar files in phpinclude path. But i guess thats not right coz in include path we have to mention the path of the src files.
Could any one please help. Its urgent.
Thanks
Nisha
I am using Jasper reports in PHP so I am using PHP-Java Bridge. And that is enabled I am able to run a sample file printing the java version etc. that works fine..
But when try to create an instance of Java class from Jasper reports jar in php code . It throws class not found exception.
I tried including the path of the jar files in phpinclude path. But i guess thats not right coz in include path we have to mention the path of the src files.
Could any one please help. Its urgent.
Thanks
Nisha