"To run an application, which uses the javatwain library, you have to
make sure that the javatwain.jar, javatwain.dll and the
javatwain_license.jar are included in the java classpath. However, for
the javatwain_license.jar, the Xbootclasspath/p: parameter should be
used, similarly as you can see it in the runExampleXxx.bat files:
java -cp examples/examples.jar;javatwain.jar
-Xbootclasspath/p:javatwain_license.jar ExampleThreads "
my programs compiles but I always get the same problem wile running:
"java.lang.Error: No valid license found
at SK.gnome.twain.TwainManager.<clinit>(TwainManager.java:79)
at Scan.<init>(Scan.java:26)
at Scan.main(Scan.java:38)
java.lang.NoClassDefFoundError
at SK.gnome.twain.TwainManager$ShutdownHook.run(TwainManager.java:26)
Exception in thread "main" Exit code: 1
There were errors"
plleeaze
help!
Romain