Search code examples
javah

classpath in javah


I'm realy in desperation. I looked up all answeres regarding javah but could not get a solution. I tried:

javah -jni com.aegisguitest.testrobot.recognition.SpyDotNET

The environment variable CLASSPATH is set to the right directory: C:\users\Marcus Tik\workspace\AegisGUITest\bin

I get the error: Exception in thread "main". java.lang.IllegalArgumentException: Not a valid class name.

Any suggestions ?


Solution

  • One has to set the PATH environment variable not the CLASSPATH for javah.