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 Int...
13 years ago
thank you very much for this piece of code........can you please givesippet for changing background color in that jpg
ReplyDeleteadavane thanks