diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-05 03:22:26 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-05 03:22:26 +0200 |
commit | 4aed814123b2582d3ccdc80c1893da4f72849cb9 (patch) | |
tree | 61df832dc1264ef3e791990f713c11a5aca98c56 /src/libgamma/Libgamma.java | |
parent | m (diff) | |
download | jlibgamma-4aed814123b2582d3ccdc80c1893da4f72849cb9.tar.gz jlibgamma-4aed814123b2582d3ccdc80c1893da4f72849cb9.tar.bz2 jlibgamma-4aed814123b2582d3ccdc80c1893da4f72849cb9.tar.xz |
begin on test
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libgamma/Libgamma.java')
-rw-r--r-- | src/libgamma/Libgamma.java | 7 |
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); + } } |