Launch .jar files MacOS Mojave
I cannot launch .jar files by double-clicking them - opening with Jar Launcher. If i run the.jar file using
$ java -jar filename.jar
from terminal, they work just fine. But if I try to open them with Jar Launcher it displays the message:
"The Java JAR file "filename.jar" could not be launched.
Check the Console for possible error or messages"
The message in Console after this is, "LSExceptions shared instance invalidated for timeout."
java -version
on terminal displays:
java version "12.0.1" 2019-04-16
Java(TM) SE Runtime Environment (build 12.0.1+12)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)
Please let me know if I can do anything? Thanks in advance
MacBook Pro 13", macOS 10.14