jekriando90 Posted January 3, 2013 Share Posted January 3, 2013 I create java method and I want to execute that on jasper report, like this: package javafunct; public class Main { public String getTes(){ return "it work"; } } i want to show that result to my jasper report, so i put that on textfield with textfield expression : new javafunct.Main().getTes() i had compiled that,and then i set that jar file to the ireport classpath and my php code. when i run from ireport it's working. but when i run from php to open this report, it's not work .. the error is :Error evaluating expression :Source text : new javafunct.Main().getTes() thanks before,, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now