error: cannot find javah找不到javah解决办法

当报错error: cannot find javah表示yum已经安装和挂在完成单找不到javah

先执行

yum search javah

Loaded plugins: product-id, subscription-manager

Not root, certificate-based repositories not updated

========================================================================= N/S Matched: javah ==========================================================================

subversion-javahl.i686 : JNI bindings to the Subversion libraries

subversion-javahl.x86_64 : JNI bindings to the Subversion libraries

  Name and summary matches only, use "search all" for everything.

在执行

sudo yum -y install subversion-javahl.i686

就OK了

你可能感兴趣的:(error: cannot find javah找不到javah解决办法)