• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help in using MathFP

 
Abhijeet Rawle
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am a student and am currently writing code for a scientific
calculator for mobiles using J2ME.I havve downloaded math fp 1.2.2 for
J2ME CLDC zip from
http://home.rochester.rr.com/ohommes/jScience/download.html
i unzipped the file and added MathFP.class to MathFP.jar
i copied the jar into the lib folder of my application
when i built the project, i got the following error

" Error preverifying class MathFP
Class Loading Error:wrong name"
Please help me debug this error
 
Ritesh Agrawal
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Abhijeet,

Not very sure but I guess, you need to obfuscate the MathFP jar before you can use it in your project. There are some free obfuscators available eg. RetroGuard etc. You can download it freely from the RetroGuard site.
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) Accoding to the error message, the MathFP is not preverified. You just need to include it in your preverify process.

2) Use proguard, it is a better obfuscator than retroguard.
http://sourceforge.net/projects/proguard/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic