I have created a server-client system that links my Windows 10 to a virtual machine (XP 32bit) to handle a legacy program.
I haven't got the source code of the program. I have redirected the output of the program on a text file, from where I also give the input to the program.
The program runs on the command prompt. Some functions of the program need inputs like F1. How can I pass input from java?