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:
Stefan Andritoiu
2015-12-04 16:34:36 +02:00
committed by Mihai Tudor Panu
parent 1667569560
commit 9bf184129e
92 changed files with 9 additions and 868 deletions

View File

@ -25,15 +25,6 @@
//NOT TESTED!!!
public class ST7735Sample {
static {
try {
System.loadLibrary("javaupm_st7735");
} catch (UnsatisfiedLinkError e) {
System.err.println("error in loading native library");
System.exit(-1);
}
}
public static void main(String[] args) throws InterruptedException {
// ! [Interesting]
upm_st7735.ST7735 lcd = new upm_st7735.ST7735((short) 7, (short) 4, (short) 9, (short) 8);