View difference between Paste ID: SQBEHK0z and Saf63jsi
SHOW: | | - or go back to the newest paste.
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
}