Change the test for an empty classpath. Need to avoid classpaths which evaluate to an empty string or the -classpath will swallow the next parameter, usually the class to execute.