runsfg.java 319 B

1234567891011121314151617
  1. // when using swig generating java and make swigjava
  2. // Compile all the Java files and run:
  3. // $ javac *.java
  4. // $ java runsfg
  5. // see the makefile and swig docs
  6. public class runme {
  7. static {
  8. System.loadLibrary("sfg");
  9. }
  10. public static void main(String argv[]) {
  11. System.out.println(sfg.version());
  12. }
  13. }