Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

using javatwain licence

5 views
Skip to first unread message

romain

unread,
Mar 9, 2003, 9:23:44 PM3/9/03
to
Hi!
http://www.gnome.sk/products_jtp_try&buy.html
I'm trying to use the gnome javatwain package
the exemples are working perfectly, but i'm not able to use the
package on my "freejava" environnement.
even if I'm following the instructions:

"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

0 new messages