If there is nothing in the drive, it will (at this stage) still boot Windows.(You may well wonder if the process is this complicated because someone wanted it to be as hard as legally possible to install other operating systems.) Installing Ubuntu Linux as the only operating system is much simpler than installing it alongside Windows so that you can choose when you turn on the computer which operating system to use.If Ubuntu is to be the only operating system, you are ready to install it.
As a workaround, you can install Open JDK 8 from a PPA repository: 1.
(Strangely, the Windows defragmenter detects 0 fragmentation and is unable to move those files.) Moreover, using this method is going to complicate both preparing Windows to receive Linux and the installation of Linux.
GParted moves those trouble-making files, can give Linux much more of the disk, and is very easy.
Open JDK Java 8 has been made into official Ubuntu repositories for 14.10 Utopic and higher.
For Ubuntu 14.04, Ubuntu 12.04, and Linux Mint 17 users here’s how to install it from PPA. It’s available in Ubuntu Software Center for Ubuntu 14.10 and Ubuntu 15.04.