Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javah not found error

I had installed Java 7 in fedora but when i tried javah from command prompt it is showing as javah:command not found where as javac,java else are working. When i searched in /usr/bin, executables are there for javac,java,javaws but not for javah. Javah is visible in Java/JDK/bin folder. How can i run javah command.

Thanx in advance.

like image 385
Rohit Avatar asked Mar 19 '13 18:03

Rohit


1 Answers

For anyone using more recent versions of java (this post is 6 years old as of my writing this) javah no longer exists in the your Java/JDK/bin folder. Instead, use the command javac -h

like image 90
David Avatar answered Sep 19 '22 10:09

David