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

Source: Internet
Author: User
Tags win32

JNA when invoking DLL libraries, error-Preserving:

/////////////////introduction of DLL libraries via JNA////////////    /*** Id_fprcap.dll is responsible for fingerprint collection, fingerprint initialization, setup, etc.*/     Public InterfaceId_fprcapextendsstdcalllibrary {ID_FPR FPR=id_fpr.instance; Id_fprcap Fprcap= (Id_fprcap) native.loadlibrary ("Id_fprcap", Id_fprcap.class); /*** Initialization of fingerprint collector *@returnsuccessful return 1, shard resource, check permissions, in all interface functions, this function is usually called first. It only needs to be called once, allowing repeated calls * its result is the same as one call. Error calling Livescan_geterrinfo getting error message*/         Public intLivescan_init (); /*** Close the collector and release the resources. After calling this function, only livescan_getversion, Livescan_getdesc, * Livescan_get can be called before Livescan_init is called. The ErrorInfo function.         After calling this function, you need to call Livescan_init again to initialize the collector. * @returnsuccessful return 1. Error call Livescan_geterrinfo get error message*/         Public intLivescan_close ();

My environment is 64-bit Win7.

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

Workaround, delete the 64-bit JDK in the system and no longer report the error.

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

Related Article

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.