1. Home
  2. Computing & Technology
  3. Java

Compiler

By , About.com Guide

Definition:

A compiler is a program that takes code written by programmers, and translates it into a language a computer can understand. The end result of this translation is a file that can be run by the computer.

Examples:

A compiler for Java is the command-line program called "javac". To compile a source code file called "HelloWorld.java" use the command:

javac HelloWorld.java

After javac has compiled the source code file, it will produce a Java class file called "HelloWorld.class".

Glossary:

# A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Explore Java
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Java
  4. Java Glossary
  5. C
  6. Definition for the term: Compiler>

©2009 About.com, a part of The New York Times Company.

All rights reserved.