Solve the Problem of j2ecolcould not find Jar tool executable

Source: Internet
Author: User

 

In eclipse, an error occurred while using proguard to generate the create obfuscated package:

 

 

Cocould not find Jar tool executable. The jar tool requires a full JDK installation. Specify a full JDK installation int the preferences.

Reason cocould not find Jar tool executeable

It means that a complete JDK installation is required.

Solution:

 

In "window -- preferences -- Java -- installed JRE, 'windows-preferences-Java-installed jres': Change the installed JRE directory to the JDK installation directory.

 

Cause:

 

 

During the obfuscation process, the jar files generated by the obfuscation tool must be pre-verified again.

In this case, the preprocessing tool looks for and calls the executable files of the jar tool from the environment variables.

Eclipseme is generally searched under the JRE installation directory.

If this problem occurs, it must be because eclipseme found at least one JDK in the installed JRE (Java subclass. In this case, eclipse recognizes JRE rather than JDK by default.

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.