I have installed eclipse aarch64 based on my mac m1. it was working fine. later i stopped using it for few days but i was just opening and closing it just to make sure it is not crashing as it used to happen with x64 version. Now even with aarch it is crashing. As soon as i open it via launch pad it says 'The apllication 'Eclipse'can't be opened.
Here are the details of eclipse and jdk version that i am currently using. Eclipse: eclipse-java-2021-12-R-macosx-cocoa-aarch64 Jdk: jdk-17_macos-aarch64_bin