Protecting against absence of Java