Firstly try going to your add/remove programs and uninstall whatever Java/s are there...
Then re-install the JRE 5.12 offline version....(4th one down)
Java SE Downloads - Previous Release - JDK 5
Now with the error message you are getting when you try to access your shared folder sounds like there is a file in there that has a corruption in it...
Do you remember what it was you where downloading when Limewire shut down ??
If you do, do a comp search for it and when you find it delete it ....