1.找到javah命令所在的目录 
   我的为 /usr/bin/javah

2.打开eclipse 
   
eclipse配置javah命令-LMLPHP

如图点击第二项

3.配置  如图

eclipse配置javah命令-LMLPHP

${project_loc}/src 
-classpath ${project_loc}/bin/classes -d ${project_loc}/jni -jni ${java_type_name} 
是根据

$PROJECT_DIRECTORY/src$ javah -classpath ../bin/classes bt.nativeclient.BtnativeActivity

04-30 20:12