Java Utililty Methods Java Compile

List of utility methods to do Java Compile

Description

The list of methods to do Java Compile are organized into topic(s).

Method

booleancompile(String filename)
Compiles the java program specified by filename.
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
int compilationResult = compiler.run(null, null, null, filename);
return compilationResult == 0;