NEWSubscribe to Receive Free E-mail UpdatesSubscribe

How to Install Java Compiler / javac in Ubuntu

This article will show you how to install the java compiler in Ubuntu (Linux)

  1. Open the Terminal
  2. Type in sudo apt-get install openjdk-7-jdk
  3. You will be asked for authorization and confirmation of the download and once finished you can start using the compiler 
Now in case you get this message E: unable to locate package openjdk-7-jdk
  1. Type in sudo apt-get update to update the packages
  2. Then type in sudo apt-get install openjdk-7-jdk again.

Post a Comment