문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top