This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The .lang classes for J2ME is a smaller subset of the full J2SE. The Math class is one of them, since MIDP 1.0 did not have support for floating points, methods of the Math classes were removed. random() was one such method. I think it might be back in for MIDP 2.0, but I don't have the API completely memorized.
Nope, just checked Mr. Knudsen's book and there is no random method in the Math class for J2ME. Sorry.