Fixed bug on OpenJDK7 when default scripting language is not available