Mac Eclipse Java Runnable JAR文件未运行

时间:2017-11-01 20:46:02

标签: java eclipse macos

我尝试使用几个开关从Eclipse编写的工作Java程序创建一个jar文件:将所需的libs提取到生成的JAR中;并将所需的包打包到生成的JAR中。

两次当我双击生成的jar文件时,我得到了#34;无法启动java jar文件。"

跑步后的控制台如下:

default 13:44:12.353371 -0700   opendirectoryd  Client: <private>, UID: 501, EUID: 501, GID: 20, EGID: 20
default 13:44:12.354556 -0700   CommCenter  #I CSIAppInfo.ApplicationActivationObserver: handleLSNotitifcation_sync: Application launched: <private>
default 13:44:12.356521 -0700   mds directQueryFetchResultsReply 53249 1795162112 35
default 13:44:12.364779 -0700   opendirectoryd  Client: <private>, UID: 501, EUID: 501, GID: 20, EGID: 20
default 13:44:12.370418 -0700   trustd  cert[2]: AnchorTrusted =(leaf)[force]> 0
default 13:44:12.387655 -0700   opendirectoryd  Client: <private>, UID: 501, EUID: 501, GID: 20, EGID: 20
default 13:44:12.407216 -0700   opendirectoryd  Client: <private>, UID: 501, EUID: 501, GID: 20, EGID: 20
default 13:44:12.407719 -0700   opendirectoryd  Client: <private>, UID: 501, EUID: 501, GID: 20, EGID: 20
default 13:44:15.765872 -0700   gamed   GKClientProxy: clientForBundleID:
default 13:44:15.765930 -0700   gamed   GKClientProxy: updateIfRecentlyInstalled
default 13:44:15.766436 -0700   gamed   GKClientProxy: clientForBundleID:
default 13:44:15.766471 -0700   gamed   GKClientProxy: updateIfRecentlyInstalled
default 13:44:17.626260 -0700   CommCenter  #I CSIAppInfo.ApplicationActivationObserver: handleLSNotitifcation_sync: Application exited: <private>
default 13:44:18.115640 -0700   taskgated   MacOS error: -67062
default 13:44:22.387974 -0700   opendirectoryd  Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
default 13:44:24.211416 -0700   gamed   GKClientProxy: clientForBundleID:
default 13:44:24.212577 -0700   gamed   GKClientProxy: clientForBundleID:
default 13:44:24.212661 -0700   gamed   GKClientProxy: updateIfRecentlyInstalled
default 13:44:24.384978 -0700   gamed   GKClientProxy: clientForBundleID:
default 13:44:24.385060 -0700   gamed   GKClientProxy: updateIfRecentlyInstalled
default 13:44:24.385739 -0700   gamed   GKClientProxy: clientForBundleID:
default 13:44:24.385780 -0700   gamed   GKClientProxy: updateIfRecentlyInstalled
default 13:44:24.389165 -0700   CommCenter  #I CSIAppInfo.ApplicationActivationObserver: handleLSNotitifcation_sync: Application exited: <private>

注意:控制台非常快速地添加条目 - 其中一些可能不适用

另一件事 - 我有一个下载的* .jar文件运行正常。

有什么想法吗?

0 个答案:

没有答案