Machine learning technique in Java to predict heart disease.