We have a J2ME application that needs to read hex numbers. The application is already too big for some phones so We try not to include any other codec or write our own funct
Parse it in chunks.
long l = (Long.parseLong("FFFFFFFFF",16)<<32) | Long.parseLong("FFFFFFFF",16);