Modified the check jdk logic.

Only using java-6-openjdk-amd64 can pass the `ifeq ($(shell java -version 2>&1 | grep -i openjdk),)`.
Modified it from `ifeq` to `ifneq`.