Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to execute "javac and java commands" from java program?

Tags:

java

javac

Is there any way to execute "javac and java commands" from java program?
If so,please help me out....

like image 225
svkvvenky Avatar asked Dec 08 '22 21:12

svkvvenky


1 Answers

Like Runtime.getRuntime().exec("javac ..."); ?

like image 106
Michael Laffargue Avatar answered Dec 11 '22 09:12

Michael Laffargue