I have these interdependent .java files. One of them contains the main statement that starts running a program and calling on all these other files. The results are some output files in .txt format. Until now, I ran the main statement in IntelliJ and then opened a jupyter notebook where I loaded the resulting .txt file after the process was finished. I want to write a python script in jupyter notebook that tells the machine to run the main statement from this .java file in this path and then do something with the resulting .txt output files on its own.
I am new to programming, and I have a hard time understanding what this process is called. I have been googling for the past two days and mostly found examples of how to run java code in python or vice versa, e.g. with jython or py4j. From what I understand, this is not what I need, because I don't need all the java scripts to run within python, I just need python to kickstart the process and then wait for the output to be produced.