How to compile java files to jar with Java Code

Viewed 37

Does anyone know of a library or any ways to compile Java Source Code in a Java Application (I know its pretty confusing)

So I have some source code files like me.user.testapp.Main and me.user.testapp.Settings I want it so you have a Java Application with a GUI that has some parameters to config the settings. When you click 'Compile' it should compile the source code files into a .jar file but I can't seem to find any tools that has a compiler library or so to use in my code to compile source code files. Is that possible? And if it is can someone give me a hint on how to do it. Thank you.

0 Answers
Related