Home › Forums › TWAIN Classic › dependent libraries
- This topic has 2 replies, 2 voices, and was last updated 16 years, 9 months ago by Anonymous.
- AuthorPosts
HELLO, first of all thanks for providing Twan product
actually, I am a new user and I do not know how to start
I followed http://www.mms-computing.co.uk/uk/co/mmscomputing/device/twain/index.php
it helped me much,I tried to compile this example
http://www.mms-computing.co.uk/uk/co/mmscomputing/device/twain/TwainExample.javait compile well but after I run the application I get this result
JarLib.load
Error = java.lang.UnsatisfiedLinkError: C:scannerukcommscomputingdevicetwainwin32jtwain.dll: Can't find dependent libraries
JarLib.load
Error = java.lang.UnsatisfiedLinkError: C:scannerukcommscomputingdevicetwainwin32jtwain.dll: Can't find dependent libraries
java.lang.UnsatisfiedLinkError: C:scannerukcommscomputingdevicetwainwin32jtwain.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1005)
at uk.co.mmscomputing.util.JarLib.loadX(JarLib.java:46)
at uk.co.mmscomputing.util.JarLib.load(JarLib.java:10)
at uk.co.mmscomputing.device.twain.jtwain.(jtwain.java:241)
at uk.co.mmscomputing.device.twain.TwainScanner.(TwainScanner.java:19)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at uk.co.mmscomputing.device.scanner.Scanner.getDevice(Scanner.java:57)
at TwainExample.(TwainExample.java:19)
at TwainExample.main(TwainExample.java:54)
JarLib.load
Error = java.lang.UnsatisfiedLinkError: C:Program FilesJavajdk1.6.0_02binjtwain.dll: Can't find dependent libraries
JarLib.load
Error = java.lang.UnsatisfiedLinkError: C:Program FilesJavajdk1.6.0_02binjtwain.dll: Can't find dependent libraries
java.lang.UnsatisfiedLinkError: C:Program FilesJavajdk1.6.0_02binjtwain.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at uk.co.mmscomputing.util.JarLib.load(JarLib.java:22)
at uk.co.mmscomputing.device.twain.jtwain.(jtwain.java:241)
at uk.co.mmscomputing.device.twain.TwainScanner.(TwainScanner.java:19)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at uk.co.mmscomputing.device.scanner.Scanner.getDevice(Scanner.java:57)
at TwainExample.(TwainExample.java:19)
at TwainExample.main(TwainExample.java:54)
java.lang.NullPointerException
at TwainExample.(TwainExample.java:20)
at TwainExample.main(TwainExample.java:54)I am tring to solve it since two days, I check the dll files and it’s all fine
please I need help to solve it
and thank you in advance
you will (probably) be better served asking on the forum for the java library that you’re using: http://www.mms-computing.co.uk/phpBB2/index.php
I’ll try
@gabe wrote:
you will (probably) be better served asking on the forum for the java library that you’re using: http://www.mms-computing.co.uk/phpBB2/index.php
- AuthorPosts