Added Java for yum based systems. Resolves #1