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.

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

 
Copyright © 2013. New Techie - All Rights Reserved
Template Created by ThemeXpose