I found that you do not need to do the ReinstallJava[]:
This works and solves the problem:
Needs["JLink`"];
InstallJava[CommandLine -> "/usr/bin/java"];
AddToClassPath["/Users/xxxx/WhereverYouWantThis"];
Tks Jean! It solver my problem too. Very useful.
Hi,
Nobody seems to have replied to your post after 5 months. Did you eventually find a solution or just gave up? I am encountering the same problem with code that used to run just fine with Mathematica 8 and JDK 7 about 1.5 year ago.
Thank you in advance for any help or pointers.
jyh.