Ubuntu Java Provider
If sometimes a program that uses java fails to execute and you have java installed, one thing you can try out is:
This will show you what java providers you have installed. If you are having trouble, selecting the sun jdk provider may fix your problem.
sudo update-alternatives --config java
This will show you what java providers you have installed. If you are having trouble, selecting the sun jdk provider may fix your problem.