java available check

java_available()