macOS下Jni调用 1. 声明native方法 package com.chenzhichang; public class TestJni { static { System.setProperty("java.library.path", "."); System.