how to run the javac tool on linux on button click
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rahul_sale
Posted On:   Friday, August 31, 2001 03:05 AM

			I want to develope one tool for the Linux which will comile the
			
java code and lso run it.For that i equire to compile java file on th eclick of the
button.
Thanks in advance....

Re: how to run the javac tool on linux on button click

Posted By:   Luigi_Viggiano  
Posted On:   Friday, August 31, 2001 06:01 AM

This shows you how to call javac compiler by Java code:


static public void main(String[] args) throws Exception{
com.sun.tools.javac.Main compiler = new com.sun.tools.javac.Main();
compiler.compile(args);
}

Re: how to run the javac tool on linux on button click

Posted By:   Luigi_Viggiano  
Posted On:   Friday, August 31, 2001 06:01 AM

This shows you how to call javac compiler by Java code:


static public void main(String[] args) throws Exception{
com.sun.tools.javac.Main compiler = new com.sun.tools.javac.Main();
compiler.compile(args);
}
About | Sitemap | Contact