OpenJDK is looking for libpcsclite.so in wrong place on 64-bit 11.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The OpenJDK codebase contains a class at sun.security.
/usr/lib64/
which doesn't exist in Ubuntu 11.10 as it's now at /usr/lib/
There is a workaround of adding -Dsun.security.
To see the problem:
1. obtain a device that runs with pcscd
2. Compile the following Java code
3. Run with and without the -D flag above to see the difference (you shouldn't get the "None" provided by "None" message with the flag):
package com.moo.bug;
import java.util.List;
import java.util.
import java.util.
import javax.smartcard
import javax.smartcard
import javax.smartcard
public class BugDemo {
private static final Logger log = Logger.
public static void main(String[] args) throws Exception {
long startTime = System.
// show the list of available terminals
try {
} catch (CardException e) {
return;
}
}
}
looks pretty much like a duplicate of https:/ /bugs.launchpad .net/ubuntu/ +source/ openjdk- 7/+bug/ 898689