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

Posted on Jan 17, 2022 11:56 AM

Reply

Similar questions

1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to run jar files on Monterey

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.