0

I have created a program which generates Robocode robots, saving them as the usual .java files. The issue I am having is compiling them to be used in battles! I need to do this automatically in code, but can't quite work it out.

Thanks!

user1966361
  • 179
  • 1
  • 3
  • 14

1 Answers1

1

The solution that I used for this was to run an Operating System command to use javac to compile the java files which were produced.

user1966361
  • 179
  • 1
  • 3
  • 14