Hi,
I'm now working in a project with smartcards (EMVs), and i use pcsc to read
a smartcard. Now i want to use java with pcsc, and i find jcpsc. But when i
try to do "make testbin" in the jpcsc folder, the console gives me the
error:
make -C src/samples testbin
make[1]: Entering directory `/home/hugo/TransferĂȘncias/jpcsc/src/samples'
export LD_LIBRARY_PATH=/usr/local/lib:;
/usr/lib/jvm/java-6-sun-1.6.0.15/bin/java
-Djava.library.path="../../bin/linux" -cp
../../bin/jpcsc.jar:../../bin/samples.jar samples.Test
Exception in thread "main" java.lang.NoClassDefFoundError: samples/Test
Caused by: java.lang.ClassNotFoundException: samples.Test
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: samples.Test. Program will exit.
make[1]: *** [testbin] Error 1
In config file i put:
PCSCDIR=/usr/local
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.15
Can someone help me to solve the problem please?
--
View this message in context:
http://old.nabble.com/jpcsc-error-tp27761635p27761635.html
Sent from the MuscleCard mailing list archive at Nabble.com.
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle