diff options
author | Stefan Andritoiu <[email protected]> | 2016-01-26 19:46:20 +0200 |
---|---|---|
committer | Petre Eftime <[email protected]> | 2016-01-27 15:08:14 +0200 |
commit | 706445a43828269019851e34861f949a1232ebe0 (patch) | |
tree | 4dd4a761778e5874d6879ac0aa28f2063af13305 /examples | |
parent | 19dd2319b393f7e5ec0610336a6e5741b46c9a4c (diff) |
java: Added "autoload library" code
Signed-off-by: Stefan Andritoiu <[email protected]>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/java/Hellotinyb.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/java/Hellotinyb.java b/examples/java/Hellotinyb.java index 8c0b8b61..3597a63e 100644 --- a/examples/java/Hellotinyb.java +++ b/examples/java/Hellotinyb.java @@ -4,15 +4,6 @@ import java.util.*; public class Hellotinyb { private static final float SCALE_LSB = 0.03125f; - static { - try { - System.loadLibrary("javatinyb"); - } catch (UnsatisfiedLinkError e) { - System.err.println("Native code library failed to load." + e); - System.exit(-1); - } - } - public static void main(String[] args) throws InterruptedException { BluetoothManager manager = BluetoothManager.getBluetoothManager(); |