I have a .jar file that I can run from the terminal on OS X, which takes input from the terminal and output Is it possible to include this .jar file in an eclipse Java project even in the terminal, where I can input inside the Java project which goes to the .jar file and receives the output as a string Is there something I can manipulate?
Thank you very much.
The short answer is yes.
The "idiom" approach will be used to communicate with the jar through the program through the command line.
There would be a better way if Jar would expose any kind of API. So you just have to add the necessary class to the class and use the function as if you have any other function.
No comments:
Post a Comment