例如: public class INFO { short backup_type; //备份的方式 int intervel; String reserved_char; //保留字符,留作以后扩展 INFO() { backup_type = 0; intervel = 0; reserved_char = null; } } 1、 进入INFO所在目录 2、用javac INFO.java进行编译 3、输入命令:javap –s INFO Compiled from "INFO.java" public class com.android.myjni.INFO extends java.lang.Object{ short backup_type; Signature: S int intervel; Signature: I java.lang.String reserved_char; Signature: Ljava/lang/String; com.android.myjni.INFO(); Signature: ()V }