Java Run jar command prompt without master manifest attribute and main class not found

Source: Internet
Author: User

Recommended a Java Run Jar command prompt without the main manifest attribute Baidu experience Link: https://jingyan.baidu.com/article/db55b60990f6084ba30a2fb8.html

Java Run jar command prompt could not find a link to the main class: http://blog.csdn.net/qq_27483535/article/details/52830421

The above link is the way to manually add the main program property list and add the main class, according to the actual development of the program's directory structure and the main method for the corresponding configuration,

But the landlord thinks that if the corresponding jar package is exported through the development tool, there is generally no such error, such as:

The export->java->runnable jar file in eclipse satisfies the problem of the main manifest attribute and the main program entry in the exported jar package.

Java Run jar command prompt without master manifest attribute and main class not found

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.