Adds condition for constructor to finish successfully. Fixes #862

Sets Java Required Execution Enviroment to JavaSE-1.7