ITKeyword,专注技术干货聚合推荐

注册 | 登录

Error: no main manifest attribute, in matlab.jar

itPublisher 分享于

2020腾讯云双十一活动,全年最低!!!(领取3500元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1073

2020阿里云最低价产品入口,含代金券(新老用户有优惠),
地址https://www.aliyun.com/minisite/goods

推荐:jar文件运行时:Failed to load Main-Class manifest attribute from ......解决办法

打包好的jar文件双击运行时报: Failed to load Main-Class manifest attribute from ......,这是由于未设置程序运行的入口程序导致的,可以将jar文件用WinRAR

I installed MATLAB on Fedora and tried to run it using java -jar matlab.jar, but I got this error:

no main manifest attribute, in matlab.jar

I read somewhere to make a manifest file with below content:

Main-Class: MainClass

but when I ran java -jar matlab again I got this error:

Error: Could not find or load main class MainClass

How do I resolve this issue?

matlab manifest mainclass
|
  this question
edited Mar 13 '13 at 17:33 Eitan T 28.4k 11 43 79 asked Mar 13 '13 at 17:13 user1099913 94 1 10

 | 

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.


相关阅读排行


相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱

如果您没有收到激活邮件,请注意检查垃圾箱。