…and 1.8.0_65 is NOT the right java version as you mentioned.
You need (at least) 1.8.0_101 (the most recent is 111 I think).
Have a look at this thread to see how to update: