@Roberto Sidoti Apologies for the delay in response and all the inconvenience caused because of the issue.
Below is the response from our internal team:
From my understanding you are saying you have already created your pool and are familiar with using resource files to get your JARs onto the node via either the task or pool resourceFiles.
You will likely want to install the JRE as part of a StartTask on the node. If you are on Ubuntu a command line similar to ‘/bin/bash -c “sudo apt-get install default-jre”’ will likely suffice. Then if your resourceFiles are on your task, the files should directly be in the path you specified from the working directory so you should be able to set your command line to something along the lines of ‘/bin/bash -c “java -jar path/to/file.jar”. In Windows you would do a similar command for the tasks but preface it with cmd /c instead of /bin/bash -c, and then changing the start task to install the JRE using the windows commandline.
Hope it helps!!!
Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics