Java calls IDL for error handling, java calls idl

Source: Internet
Author: User

Java calls IDL for error handling, java calls idl

In the past, we have a detailed introduction to calling idl in java (javaidlb. jar )].

 

Later I found that some errors may occur when different people load javaidlb. jar in different ways.

 

Method 1: load (C: \ Program Files \ Exelis \ IDL82 \ resource \ bridges \ export \ java \ javaidlb. jar ).

The second method is to copy javaidlb. jar to the project.

 

The first method is recommended.

Because the second method may cause some errors, the console will report the following error information:
Failed to load idl_ebutil from F: \ MyEclipse \ testapp \ jar \... \ .. \ bin. x86
Failed to load idl_ebutil from F: \ MyEclipse \ testapp \ jar \... \ .. \ bin. x86
Failed to load idl_bml from default location.
Failed to load javaidlb from default location.
Exception in thread "Timer-0" java. lang. UnsatisfiedLinkError: com. idl. javaidl. JIDLPAL. nativeInitJPAL () V
At com. idl. javaidl. JIDLPAL. nativeInitJPAL (Native Method)
At com. idl. javaidl. JIDLPAL. <clinit> (JIDLPAL. java: 206)
At com. idl. javaidl. JIDLObject. <init> (JIDLObject. java: 56)
At com. idl. javaidl. java_IDL_connect. <init> (java_IDL_connect.java: 30)
At com. zkyg. action. MetadaHarvestAction. list (MetadaHarvestAction. java: 108)
At com. zkyg. action. MetadaHarvestAction $ MyTask. run (MetadaHarvestAction. java: 329)
At java. util. TimerThread. mainLoop (Timer. java: 512)
At java. util. TimerThread. run (Timer. java: 462)

 

No solution has been found for this problem, so the first loading method is used if errors are not avoided.

 

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.