Suppose you have installed Oracle JDK correctly. The follow steps show how to set javaws using Oracle JDK.
First of all, Check your installed javaws. Open a Terminal and enter the command.
$ sudo update-alternatives --config javaws
Normally, you have only ONE javaws in aternative javaws list.
You have to re-assign javaws use alternative from Oracle JDK. In my case, my jdk installed at /usr/lib/jvm/jdk1.7.0_02/, and my javaws is installed at /usr/lib/jvm/jdk1.7.0_02/bin/javaws.
Enter the command:
$ sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.7.0_02/bin/javaws 1
Finally, re-enter the command:
$ sudo update-alternatives --config javaws
and select the expected javaws in the list.

No comments:
Post a Comment