aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma/Libgamma.java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libgamma/Libgamma.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libgamma/Libgamma.java b/src/libgamma/Libgamma.java
index 66e9999..dbb9d1c 100644
--- a/src/libgamma/Libgamma.java
+++ b/src/libgamma/Libgamma.java
@@ -32,7 +32,12 @@ class Libgamma
return;
Libgamma.initialised = true;
- /* TODO load the library */
+ try
+ { System.loadLibrary("gamma-java");
+ }
+ catch (Throwable err)
+ { throw new Error(err);
+ }
}