setting java runtime to 1.7