How to check through recipe at runtime for java


#1

How can i check at runtime through recipe whether java is installed or not on the node.
If installed then skip else install java.