« CANADA CHARGES PRESIDENT FOR WAR CRIMES - BUSH ARRESTED | Main | Hillary support's The INDUCE Act »
December 06, 2004
Using Java to Compile Java
Java Tip 131: Make a statement with javac!
From the article:
Many developers do not realize that an application can access javac programmatically. A class called com.sun.tools.javac.Main acts as the main entry point. If you know how to use javac on the command line, you already know how to use this class: its compile() method takes the familiar command-line input arguments.
Posted by vanevery at 11:01 AM
Trackback Pings
TrackBack URL for this entry:
http://www.walking-productions.com/scgi-bin/mt/mt-tb.cgi/425
Comments
I found that to compile using java more dificult than turbo c++.speciall using import packages.Is there any way,it is eisier to compile.
Posted by: seifu assefa at April 17, 2005 11:06 AM