somehow eclipse env was set for java 6 rather than 7