When I try to use something that uses the Java Virtual Machine, it comes up with an error that says," Could not create the Java Virtual Machine". I tried to uninstall the Java runtime environment,but it couldn't find the path to it. So, any ideas on what to do?

Thanks.