I try to install some scientific software from source and get the following warning, when I run ./configure:
…
checking for javah in user’s PATH… not found
checking for javah in known locations… not found
configure: WARNING: Invalid JNI include dir, exit!
…
I have sun’s jdk 1.6 installed but apparently there’s no javah.
When I use YaST > Software > Software manager and then Search for javah with the “Filelist” checked it tells me that the package java-1_6_0-openjdk-devel contains the file /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/bin/javah.
Now you say you have “sun’s jdk 1.6” installed. I have both* java-1_6_0-openjdk* and java-1_6_0-sun packages installed, but no “sun jdk”. It is not normal to have both. Most people use the sun version allthough it is not open source.
I have also* java-1_6_0-openjdk-devel* installed (and it containts javah as shown above). But there is also a java-1_6_0-sun-devel in the repos. I suggest you decide what you use (jdk or sun) and then install the appropriate devel package,