Unable to run jar files on Monterey
Hi! I'm unable to run my jar files on macOS Monterey after updating from Catalina.
I'm displayed "Java Application Launch Failed Check Console for possible error messages related to path to jar file"
I have the following java configuration on my system:
java version "11.0.13" 2021-10-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.13+10-LTS-370)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.13+10-LTS-370, mixed mode)
When I run the file from Terminal, I'm displayed the following error:
Error: Could not find or load main class
MacBook Pro 16″, macOS 12.1