Change startup scripts to check for Java.