JDK 7 or 8 On Ubuntu

Discussion in 'Big Data and Analytics' started by Indranil Roy, Sep 11, 2016.

  1. Indranil Roy

    Indranil Roy Member
    Alumni

    Joined:
    Jul 17, 2016
    Messages:
    5
    Likes Received:
    0
    I have successfully installed and updated Ubuntu on VM...now I am getting the promt hadoop@ubuntu:~$ ....but the slides in simplilearn are showing [hadoop@simplilearn] # and when I use sudo apt-get install openjdk-7-jdk gives error 'has no installation candidate' . Do I have to do anything before the command to install java 7.?? I understand Jdk 7 is more stable , so need suggestion to get rid of this error.

    And when I start the Ubuntu on the VM why it is always opening the command terminal by default and not the Ununtu Desktop ?
     
    #1
  2. DeshDeep Singh

    DeshDeep Singh Well-Known Member
    Simplilearn Support Alumni

    Joined:
    Sep 22, 2015
    Messages:
    935
    Likes Received:
    67
    Hi Indranil,

    In Ubuntu Software Center >> Edit >> Software Sources, I changed the server to Main Server and then run sudo apt-get update. Then sudo apt-get install build-essential.
     
    #2

Share This Page