Hello list!
I am using the javax.smartcardio class to access a SmartCard Reader.
I have been trying both openjdk6 and jdk16 ports.
The problem: java does not detect the installed pcsclite library in /usr/local/lib per default like it does on Linux and MacOSX
Testprogramm:
import javax.smartcardio.*;
import java.io.*;
import java.util.*;
public class Test {
public static void main(String[] args) {
String libpath = System.getProperty("sun.security.smartcardio.library");
System.out.println("Smartcardlibrary: " + libpath);
System.out.println("Smartcardio available: " + TerminalFactory.getDefaultType() + " ");
}
}
If i set the Property sun.security.smartcardio.library to /usr/local/lib/libpcscplite.so the Testprogram works as expected.
The Soucecode in Question seems to be the file PlatformPCSC.java
http://www.java2s.com/Open-Source/Java-Document/6.0-JDK-Platform/solaris/sun/security/smartcardio/PlatformPCSC.java.htmNow i am wondering if maybe $LIBISA is not set correctly? I can't find the place in the Sourcecode where it is set.
Any ideas?
_______________________________________________
freebsd-java@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-javaTo unsubscribe, send any mail to "
freebsd-java-unsubscribe@..."