i think this should follow the same approach as the ruby agent definition. set the config file path and then include the java agent recipe.