Re: Missing jni.h

2020-08-05 Thread Herald ten Dam
on 390 Port namens David Spiegel Verzonden: woensdag 5 augustus 2020 12:09 Aan: LINUX-390@VM.MARIST.EDU Onderwerp: Re: Missing jni.h Hi Herald, Thank you for your assistance! I listed /usr/bin/java and got: [root@REDWINGZ bin]# ls -al /usr/bin/java lrwxrwxrwx. 1 root root 22 Aug 4 14:13 /

Re: Missing jni.h

2020-08-05 Thread David Spiegel
l Verzonden: dinsdag 4 augustus 2020 20:19 Aan: LINUX-390@VM.MARIST.EDU Onderwerp: Re: Missing jni.h Hi Herald, I downloaded the file and ran it. It installed it into /opt/ibm/java-s390x-80 (default choice). How do I get this to be the "system" Java? I tried: *update*-alternat

Re: Missing jni.h

2020-08-05 Thread Herald ten Dam
Verzonden: dinsdag 4 augustus 2020 20:19 Aan: LINUX-390@VM.MARIST.EDU Onderwerp: Re: Missing jni.h Hi Herald, I downloaded the file and ran it. It installed it into /opt/ibm/java-s390x-80 (default choice). How do I get this to be the "system" Java? I tried: *update*-alternatives -

Re: Missing jni.h

2020-08-04 Thread Andrew Porter
You can find jni.h with the command find / -name jni.h -print Should be in a directory something like (depends on the Java version): /usr/lib/jvm/java-1.8.0-ibm-1.8.0.6.5.s390x/include/jni.h Probably you should use a version-independent path like /etc/alternatives/java_sdk to refer to the

Re: Missing jni.h

2020-08-04 Thread David Spiegel
0 Port namens David Spiegel Verzonden: dinsdag 4 augustus 2020 17:37 Aan: LINUX-390@VM.MARIST.EDU Onderwerp: Re: Missing jni.h Hi Jack, I tried what you suggested: [root@REDWINGZ ~]# yum install java-1.8.0-ibm Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Nothing

Re: Missing jni.h

2020-08-04 Thread Jack Woehr
On 8/4/20 9:37 AM, David Spiegel wrote: Also, there is no include directory and no SDK  in /alternatives Hmm, I find it in /usr/lib/jvm/java-1.8.0-ibm-1.8.0.6.10-1jpp.1.el7.s390x/include/jni.h No /usr/lib/jvm directory? -- Jack Woehr # Woehr's Asymptote: The ratio of the time

Re: Missing jni.h

2020-08-04 Thread Herald ten Dam
wa/redir.aspx?C=VXsWzolNszaPfEV0NyI4hHlHi_HLsvmJPdc-hUPEoam3bq_3CljVCA..=http%3a%2f%2fwww.icu-it.nl%2f> I KvK 32135776 Van: Linux on 390 Port namens David Spiegel Verzonden: dinsdag 4 augustus 2020 17:37 Aan: LINUX-390@VM.MARIST.EDU Onderwerp: Re: Missing jni.h

Re: Missing jni.h

2020-08-04 Thread David Spiegel
Hi Jack, I tried what you suggested: [root@REDWINGZ ~]# yum install java-1.8.0-ibm Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Nothing to do [root@REDWINGZ ~]# yum install javapackages-tools Loaded plugins: langpacks, product-id, search-disabled-repos,

Re: Missing jni.h

2020-08-04 Thread Jack Woehr
On 8/4/20 8:48 AM, David Spiegel wrote: Hi Jack, I have /usr/lib/jvm/java-1.8.0-ibm-1.8.0.6.10-1jpp.1.el7.s390x but, there is no include directory: David, when you asked your question, I went to an LPAR that did not have it installed and installed it just like I said. sudo yum install

Re: Missing jni.h

2020-08-04 Thread Jack Woehr
On 8/4/20 8:44 AM, David Spiegel wrote: I tried that, but, got: Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager No package java-1.8.0-ibm-devel available. Okay, but it installed with no dependency failure messages? One of my colleagues recommended to

Re: Missing jni.h

2020-08-04 Thread David Spiegel
Hi Jack, I have /usr/lib/jvm/java-1.8.0-ibm-1.8.0.6.10-1jpp.1.el7.s390x but, there is no include directory: [root@REDWINGZ java-1.8.0-ibm-1.8.0.5.35-1jpp.1.el7.s390]# ls -al total 4 drwxr-xr-x. 4 root root   35 Jul 29 11:06 . drwxr-xr-x. 5 root root 4096 Jul 29 11:52 .. drwxr-xr-x. 5 root root  

Re: Missing jni.h

2020-08-04 Thread David Spiegel
Hi Jack, I tried that, but, got: Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager No package java-1.8.0-ibm-devel available. One of my colleagues recommended to download manually and do: yum localinstall java-1.8.0-ibm-devel-1.8.0.6.10-1jpp.1.el7.s390x.rpm

Re: Missing jni.h

2020-08-04 Thread Jack Woehr
On 8/4/20 8:32 AM, Jack Woehr wrote: On 8/4/20 8:15 AM, David Spiegel wrote: Hi, I have installed Red Hat 7.6 as Guest under z/VM. I downloaded and installed JDK java-1.8.0-ibm-devel-1.8.0.6.10-1jpp.1.el7.s390x.rpm You did download using sudo yum install java-1.8.0-ibm-devel Right? --

Re: Missing jni.h

2020-08-04 Thread Jack Woehr
On 8/4/20 8:15 AM, David Spiegel wrote: Hi, I have installed Red Hat 7.6 as Guest under z/VM. I downloaded and installed JDK java-1.8.0-ibm-devel-1.8.0.6.10-1jpp.1.el7.s390x.rpm Users cannot find jni.h and suspect that I installed a JRE instead of a JDK. Questions: - Did I download the correct

Missing jni.h

2020-08-04 Thread David Spiegel
Hi, I have installed Red Hat 7.6 as Guest under z/VM. I downloaded and installed JDK java-1.8.0-ibm-devel-1.8.0.6.10-1jpp.1.el7.s390x.rpm Users cannot find jni.h and suspect that I installed a JRE instead of a JDK. Questions: - Did I download the correct rpm (from Red Hat)? - If yes, how do I