A Java compiler is a program which converts Java source code into Java bytecode.