|
@@ -39,9 +39,7 @@ public class HelperUtility {
|
39
|
39
|
// Inspired by:
|
40
|
40
|
// http://stackoverflow.com/questions/1611357/how-to-make-a-jar-file-that-include-dll-files
|
41
|
41
|
static {
|
42
|
|
- // System.out.println("Loading Serial Library...");
|
43
|
42
|
loadFromJar();
|
44
|
|
- // System.out.println("Loaded!");
|
45
|
43
|
}
|
46
|
44
|
|
47
|
45
|
/**
|
|
@@ -55,7 +53,7 @@ public class HelperUtility {
|
55
|
53
|
loadLib(path, "Serial.dll");
|
56
|
54
|
} else if (os.indexOf("mac") > -1) {
|
57
|
55
|
loadLib(path, "libSerial.jnilib");
|
58
|
|
- } else {
|
|
56
|
+ } else { // Hopefully unix/linux...
|
59
|
57
|
loadLib(path, "libSerial.so");
|
60
|
58
|
}
|
61
|
59
|
}
|