nb with java 7