public class CompilerExample {
public static void main(String[] args) {
String fileToCompile = "c:" + java.io.File.separator
+ "HelloWorld.java";
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
int compilationResult = compiler.run(null, null, null, fileToCompile);
if (compilationResult == 0) {
System.out.println("Compilation is successful");
} else {
System.out.println("Compilation Failed");
}
}
}
Why NoSQL is in fashion?
-
Couple of years back NoSQL was relatively unheard term. It has become a new
buzzword in town, catching people's imagination. Almost all big daddies of
In...
8 months ago
1 comments:
thank you very much for this piece of code........can you please givesippet for changing background color in that jpg
adavane thanks
Post a Comment