Javah did not find an error

I installed Java 7 in Fedora, but when I tried javah from the command line, it shows how javah: command not found , where as javac, java else work. When I searched for / usr / bin, the executables were for javac, java, javaws, but not for javah. Javah is displayed in the Java / JDK / bin folder. How can I run the javah command.

Thanx in advance.

+6
source share
1 answer

Either enter the full path to the file (or add it to the folder) in the path environment variable using export PATH=$PATH:/path/to/java/JDK/bin/folder . To keep this constantly in your way, you can add this line to your .bashrc.

+7
source

All Articles