check for presence of java before installing plugins