Never mind my version of Java was wayyyy too old I've updated it and now its working.
I am pretty sure I have Java.
I have recently downloaded the game but when ever I try to open it the game closes itself automatically and when I checked the console it said this:
dlopen(jre/lib/jli/libjli.dylib, 1): image not foundError: failed to load VM runtime library!logoutDo you have any suggestions for how to fix this?