I downloaded jdk-8u73-linux-x64.rpm
from Oracle. then I try to convert .rpm
to .deb
to install it on Ubuntu 15.10. So I tried this code:
sudo alien jdk*.rpm
and after a few minutes I have jdk1.8.0-73_1.8.073-1_amd64.deb
and a folder named jdk1.8.0_73-1.8.0_73
Then I try to install my new .deb
package.
sudo dpkg -i jdk1.8.0-73_1.8.073-1_amd64.deb
I faced with this message:
(Reading database ... 213050 files and directories currently installed.)
Preparing to unpack jdk1.8.0-73_1.8.073-1_amd64.deb ...
Unpacking jdk1.8.0-73 (1.8.073-1) over (1.8.073-1) ...
Setting up jdk1.8.0-73 (1.8.073-1) ...
It seemed to install correctly. But when I tried to install Netbeans It said that:
Java SE Development Kit (JDK) was not found on this computer
What is my problem here?