I’m not sure which of the several issues in this thread you are referring to when you say you had “the same issue” 
CoronaSDK for macOS hasn’t required any particular version of Java for some time (since build 2750) since it uses Java command line utilities rather than the JNI interface provided by Java 6. I’m currently using Java 8 (build 1.8.0_71-b15) which is whatever I got the last time the Java updater ran.
Having said that, I have seen at least one case where the Java utilities just didn’t work on a particular computer (that’s most of the posts in this thread) and that is a basic requirement which we can’t work around.
If you have a project that wont build with Java 8, please submit a bug.