mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
java: removed loadLibrary preamble from examples
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
1667569560
commit
9bf184129e
@ -27,15 +27,6 @@ public class HM11Sample {
|
||||
|
||||
private static final int BUFSIZ = 1024;
|
||||
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("javaupm_hm11");
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
System.err.println("error in loading native library");
|
||||
System.exit(-1);
|
||||
}
|
||||
}
|
||||
|
||||
private static void printUsage() {
|
||||
System.out.println("Usage: java HM11Sample [AT command]");
|
||||
|
||||
|
Reference in New Issue
Block a user