I need to compile java source package which is created dynamically using a java program.
I have only the source location, I do not know source file names. How can I do this?
Please me know, if any anybody have idea.
Thanks for the response.
Could you please explain a bit detail, I have a package structure as follows
those classes are dynamically generated, I do not know class names.
If possible please put some pseudo code.
Did you check out the javadoc of the File class? Do a search for an example that shows how to do file listings using the File class?
This is not a personal answering service, my response has all the information you need to do further research and solve it yourself (shouldn't take more than 10 minutes really, this is not rocket science). Do so and learn something.
If you want to continue to visit this forum get used to the idea that you'll get the tough love treatment here. Most regulars know well enough that in order to really help someone, you often have to not give them what they want.