Java. lang. UnsatisfiedLinkError: % 1 is not a valid Win32 application ., Not a 32-bit valid application

Source: Internet
Author: User

Java. lang. UnsatisfiedLinkError: % 1 is not a valid Win32 application ., Not a 32-bit valid application

When JNA calls the dll library, the following error occurs:

//// // Introduce the DLL library through JNA // /// *** ID_FprCap.dll fingerprint collection, fingerprint device initialization, setting, etc. */public interface ID_FprCap extends StdCallLibrary {ID_Fpr fpr = ID_Fpr.INSTANCE; ID_FprCap fprCap = (ID_FprCap) Native. loadLibrary ("ID_FprCap", ID_FprCap.class);/*** initialize fingerprint collector * @ return success return 1, shard resources, check permissions, in all interface functions, this function is usually called first. You only need to call it once and allow repeated calls. * The result is the same as that of one call. Error call LIVESCAN_GetErrInfo to obtain error information */public int LIVESCAN_Init ();/*** close the collector and release resources. after this function is called, only LIVESCAN_GetVersion, LIVESCAN_GetDesc, and * LIVESCAN_GetErrorInfo functions can be called before LIVESCAN_Init is called. After calling this function, you need to re-call LIVESCAN_Init to initialize the collector. * @ return returns 1. An error occurred while calling LIVESCAN_GetErrInfo to obtain the error message */public int LIVESCAN_Close ();

My environment is 64-bit win7.

Java. lang. UnsatisfiedLinkError: % 1 is not a valid Win32 application.

Solution: If the 64-bit JDK in the system is deleted, the error is no longer reported.

 

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.