llaconde Posted March 4, 2008 Share Posted March 4, 2008 hello everybody, I'm using the method divide in my report.When i compile it in iReport there is not problem but when I try to generate my report in my java code I have the following error:cannot resolve symbolsymbol : class MathContext..........cannot resolve symbolsymbol : method divide (java.math.BigDecimal)location: class java.math.BigDecimal Does this mean I miss a jar or something? Thank you. Link to comment Share on other sites More sharing options...
llaconde Posted March 4, 2008 Author Share Posted March 4, 2008 I resolve my problem.I'm not using the same JDK, (1.4.2 instead of 1.5) so I'm not allowed to use MathContext, I have to use the ROUND_.... of BigDecimal and also the divide method is different between the two JDK versions.Sorry for bothering... 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