[FIX] introduced java 7-8 version building with or without external javax library