Following this tutorial to use Opencv Face Detection. At 4:00 he wrote on terminal:
C:UserscvlabDesktopMyApplicationappsrcmain>javah -d jni -classpath ../../build/intermediate/classes/debug com.example.cvlab.myapplication.OpencvClass
I’m trying to wrote the same path on my code but I’m running into this error:
‘javah’ is not recognized as an internal or external command
Some of questions which the same already in stackoverflow , but it will not help to get the solutions. Could anyone help me? thanks
Advertisement
Answer
It means the bin/
folder of your JDK is not in your PATH variable
You can download a JDK from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html