fixes #167 fixed if clause that executes deployment on master with oracl...

...ejdk7