Installing Java 8 on ubuntu

  1. Check if java is already present
     java-version 
  2. If open jdk is present remove it by using
    sudo apt-get purge openjdk* 
  3. Now add the repository, update it and install java 8
    sudo add-apt-repository ppa:webupd8team/java
    
    sudo apt-get update
    
    sudo apt-get install oracle-java8-installer
    
    
  4. Lastly , set the environment variables. I would suggest you to use defaults 🙂  
    sudo apt-get install oracle-java8-set-default

Mounting windows 8.1 partition in ubuntu

After upgrading to windows 8.1 I couldn’t able to mount windows partitions in ubuntu. Had to google it and finally deciphered the mystery behind fast booting time of windows 8.1. Actually it keeps all drives in hibernate mode even when you shutdown.   That is why ubuntu finds it difficult to mount . To resolve this, you just run command as an administrator in windows and type “powercfg.exe /hibernate off”  .

Warning : you are windows booting time will increase drastically 🙂