First off, sorry to say I don't know the answer to your problem
However, I do raise a warning about those C++ libraries: Don't uninstall any of them unless
a) You know how reinstall what you just uninstalled or
b) You first create a backup disk image of your computer
Some app(s) on your machine depend on those C++ library versions to run and it/they will be "broke" if you uninstall one of the versions it needs
/* EDIT */
I'll add: IMHO I don't think the problem would be in C++ library. But as gbhall mentioned, re-installing java is worth a shot. There's a
java uninstaller clean up tool you can use to uninstall. And reinstall from
HERE. (You don't need anything about the "java developer's toolkit"). You only need the run time environment
One more thought, after java reinstall, you might also try an add-on dl manager like flashgot to FF. Maybe it'll open the folder correctly