When running the java -version test, first try to use the JRE included in the greenstone binary before attempting to use a system java, because those who install GS from binary may not have their own JDK or JRE installed. Thanks to Helen Bucksey for finding this bug.