Having the method static was causing javah to change the signature of the native method which caused compiling errors