I have a question during Java coding.
While a method written with JAVA is running
I would like to ask if there is any way to compile a specific java file.
In Eclipse, etc., it is not a compile command
I would like to ask if there is a way to compile another file while the method is working.
compile java class
Of course it's possible.
JavaCompiler in the javax.tools package.
https://docs.oracle.com/javase/7/docs/api/javax/tools/JavaCompiler.html
https://www.programcreek.com/java-api-examples/index.php?api=javax.tools.JavaCompiler
© 2024 OneMinuteCode. All rights reserved.