[FORGEPLUGINS-107] Just try using java if JAVA_HOME is null.

Just try using java if JAVA_HOME is null.