Here is how to install JDK 7 on Fedora. Steps: 1) Open Terminal 2) Type 'su' to get permission to install software(will ask for password) 3) Now installed JDK through sudo, like: sudo yum install openjdk-7-jdk 4) Enter 'y' when it asks for permission to install. While installing it might even ask for password.