Is there a way to configure java location in nomad client config file?

I have a use case where i need to run java applications on nomad cluster. But there are multiple versions of java present there. Is there a way that i can configure in nomad client library to mention which java binaries can be used. e.g can i configure in client.hcl file which contains the path to java binaries and later all the applications use that java only?

1 Like