Jad file error code, sharing

Source: Internet
Author: User
Tags error code final
Error
The Jad (Java application discriptor) file is an important part of J2ME, and when we release the J2ME program, the Jad file often reports various errors, such as:

Com.sun.kvem.midletsuite.InvalidJadException:Reason = 13

The reason for this error is 1-52 code, which is very confusing. I found this code on the Internet to explain, and you share the following:

public static final int jad_server_not_found = 1;public static final int jad_not_found = 2;public static final int MISSING _provider_cert = 4;public static final int corrupt_provider_cert = 5;public static final int unknown_ca = 6;public static Final int invalid_provider_cert = 7;public static final int corrupt_signature = 8;public static final int Invalid_signatur E = 9;public static final int unsupported_cert = 10;public static final int expired_provider_cert = 11;public static final int expired_ca_key = 12;public static final int missing_suite_name = 13;public static final int missing_vendor = 14;publi C static final int missing_version = 15;public static final int invalid_version = 16;public static final int old_version = 17;public static final int missing_jar_url = 18;public static final int jar_server_not_found = 19;public static final int Jar_not_found = 20;public static final int missing_jar_size = 21;public static final int suite_name_mismatch = 25;public static final int VERSION_mismatch = 26;public static final int vendor_mismatch = 27;public static final int invalid_key = 28;public static final I NT Invalid_value = 29;public static final int insufficient_storage = 30;public static final int jar_size_mismatch = 31;pub LIC static final int new_version = 32;public static final int unauthorized = 33;public static final int jad_moved = 34;pub LIC static final int cannot_auth = 35;public static final int corrupt_jar = 36;public static final int invalid_jad_type = 37;public static final int invalid_jar_type = 38;public static final int already_installed = 39;public static final int DE vice_incompatible = 40;public static final int missing_configuration = 41;public static final int missing_profile = 42;pub LIC static final int invalid_jad_url = 43;public static final int invalid_jar_url = 44;public static final int Push_dup_fa Ilure = 45;public static final int push_format_failure = 46;public static final int push_proto_failure = 47;public static Final int Push_class_faiLURE = 48;public static final int authorization_failure = 49;public static final int attribute_mismatch = 50;public static Final int proxy_auth = 51;public static final int trusted_overwrite_failure = 52;



With the explanation of the code, it is easy to know the cause of the error.

In addition, you know, some mobile phones when installing jar files, do not need to jad files. This is because the handset manufacturer has built-in the parsing function to the jar file in the operating system. Just as the phone automatically generates JAD files and then installs the jar files using this jad file.


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.