[ad_1]
- Save code in file.
- Get it’s absolute Path.
- Use
Process myProcess = Runtime.getRuntime().exec(command);to
compile and run your code. - You can also redirect Errors/Warnings to diff files.
[ad_2]
solved How to run an application in an interface? [closed]