Add tags to java installation. [ci skip]