Groups: Member
Posts: 2
|
How do you run the java demo on MatchUP API demo. the .chm help file does not explain how to run it.
Compile the example Java gives precision error. Fixing precision error cause another error
-Tri <sigh> just another bad day </sigh>
|
Groups: Administration
Posts: 88
|
Hello Tri
Go ahead and change the size of the handle from int to long. For example, in "Mapping Example.java", line 23 currently reads: int hDeduper; change this to: long hDeduper;
|
Groups: Member
Posts: 2
|
I can fix the precision error now, but it gives me an error when I try to run MatchcodeExample.
Exception in thread "main" java.lang.UnsatisfiedLinkError: DTDebugMessages at DtApi.DTDebugMessages(Native Method) at MatchcodeExample.main(MatchcodeExample.java:30)
This must be cause by failure to load Dt3Api.dll lib. How do you run the example to load native language library?
|
Groups: Administration
Posts: 88
|
Yes, the Java runtime needs to be able to find the dt3api.dll. In the help file, under Concepts | The Programmer's Interface | Java, there's a small section "DLL Locations", which lists the 5 locations that windows (and the JRE) will search for the DLL. For troubleshooting, I usually just suggest copying dt3api.dll into the Java folder.
|