Alternative example for installing Java