If you get the error:
'nonexistent Java Runtime environment installation or the runtime is corrupted' when you try to run TVShare then try these techniques to debug and solve the problem.
The first and easiest thing to do is to uninstall ALL versions of Java on your computer and re-install the latest version from http://www.java.com
If you have a 64 bit computer you can try installing Java 64 bit (you might have to poke around a bit on the Java site to find the 64Bit version), TVShare can run with either 32Bit or 64Bit Java.
If the problem is still not resolved then you will need to look inside your registry. Only do this if you are experienced with editing your Windows registry.
Start -> Run -> regedit
then navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
Under the runtime environment area will be listed all the Java versions you have installed. Inside each one you should find a key called JavaHome and a key called RuntimeLib. Both of these keys should point to an actual Java installation on your drive. Check that the paths are correct. if they are not you will either need to copy your Java where the registry expects to find it OR change the registry to point to the right place (only do this if you know what you are doing!)
if those keys look good or you couldn't find them and you are running a 64 bit computer then look for this key:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Javasoft\Java Runtime Environment
and follow the instructions above for making sure the JavaHome and RuntimeLib are pointing to the right place.