We recently wrote about reinstalling Java to correct problems with various applications including Mail and Safari. While this may be useful for some users, Apple has released a knowledgebase article ...
Ideally this is resolved without creating platform-specific Java-GI jar files. The Java bindings can provide the "lowest common denominator", i.e. always use int in Java when the native type is long.