Borneq

net.sf.junace.Main.java

Sep 5th, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package net.sf.junace;
  2.  
  3. public class Main {
  4.     static {
  5.      try{
  6.         System.loadLibrary("junace");
  7.      }
  8.      catch(Throwable e) {
  9.            System.err.printf(e.getMessage());
  10.            System.exit(1);
  11.          }
  12.      }
  13.      
  14.     public static void main(String[] args) {
  15.         UnACE unACE = new UnACE();
  16.         try{
  17.            unACE.LoadAceDll();
  18.         }
  19.         catch(UnsatisfiedLinkError e) {
  20.            System.err.printf(e.getMessage());
  21.            System.exit(1);
  22.          }
  23.         unACE.nativeACEList("", null);
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment