CompileFiles1.java Source code

Java tutorial

Introduction

Here is the source code for CompileFiles1.java

Source

import javax.tools.JavaCompiler;
import javax.tools.ToolProvider;

public class CompileFiles1 {
    public static void main(String[] args) {
        JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
        compiler.run(null, null, null, args);
    }
}