Run JAR as External Tool
Answered
Hello,
I would like to run a Java program (JAR) as an External Tool. However, I'm unable to select one from the dialog, as it doesn't show JAR files. If I bypass the dialog, force the path to the executable and run the tool, then I get an error message, "CreateProcess error=2, The system was unable to find the specified file".
Is it possible at all to run a Java program as an External Tool? If yes, are there any restrictions unspecified in the documentation?
Thank you,
Alexandre Vieira
Please sign in to leave a comment.
Hello Alexandre,
Try configuring the external tool like this ($ProjectFileDir$ can be replaced with the absolute path to the folder with your JAR file):
Hello Arina,
Nice solution, I hadn't thought of that. It works.
Thank you,
Alexandre Vieira