> On Oct 27, 2016, at 11:53 AM, Christopher Schultz 
> <ch...@christopherschultz.net> wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Brian,
> 
> On 10/27/16 11:47 AM, Paquin, Brian wrote:
>> I’m trying to compile Tomcat Native (1.2.10 that comes with
>> 8.5.6), and get the error “Cannot find jni_md.h” In
>> /usr/lib/jvm/[openjdk-1.8.0_111]/jre/ I have bin and lib but not 
>> include… I downloaded oracle’s 1.8.0_112 JDK and have the same
>> structure (no include).
>> 
>> I haven’t found anything on the web that helps me get the headers 
>> back and was hoping someone here could help.
> 
> It looks like you have a JRE and you need a JDK to build tcnative.
> 
> The JDK contains a jre/ directory and you're right, it has no include/
> subdir. But if you back-out one directory to JAVA_HOME, you should
> have an include/ directory there.
> 
> When I unpack the jdk1.8 archive, I get these files:
> 
> drwxr-xr-x 2 uucp 143     4096 Jun 22 21:53 bin
> - -r--r--r-- 1 uucp 143     3244 Jun 22 21:53 COPYRIGHT
> drwxr-xr-x 4 uucp 143     4096 Jun 22 21:53 db
> drwxr-xr-x 3 uucp 143     4096 Jun 22 21:53 include
> - -rwxr-xr-x 1 uucp 143  5091318 Jun 22 11:58 javafx-src.zip
> drwxr-xr-x 5 uucp 143     4096 Jun 22 21:53 jre
> drwxr-xr-x 5 uucp 143     4096 Jun 22 21:53 lib
> - -r--r--r-- 1 uucp 143       40 Jun 22 21:53 LICENSE
> drwxr-xr-x 4 uucp 143     4096 Jun 22 21:53 man
> - -r--r--r-- 1 uucp 143      159 Jun 22 21:53 README.html
> - -rw-r--r-- 1 uucp 143      526 Jun 22 21:53 release
> - -rw-r--r-- 1 uucp 143 21109887 Jun 22 21:53 src.zip
> - -rwxr-xr-x 1 uucp 143   110114 Jun 22 11:58
> THIRDPARTYLICENSEREADME-JAVAFX.txt
> - -r--r--r-- 1 uucp 143   177094 Jun 22 21:53 THIRDPARTYLICENSEREADME.txt
> 
> - -chris

That did it! Thank you!!  (my “find / -name jni” only returned 3 items in 
Tomcat)

Much appreciated,

Brian

Reply via email to