ADDITIONAL SYSTEM INFORMATION :
Windows 11 x64 22H2 Update, JDK 19.0.1 and indefinite previous versions
A DESCRIPTION OF THE PROBLEM :
Library downloaded from:
https://www.oracle.com/java/technologies/javase/jdk19-archive-downloads.html
The jni.h header located in "C://Program Files/Java/jdk-19/include/" is not including the jni_md.h header properly.
Problematic line: #include "jni_md.h"
Solution: #include "./win32/jni_md.h"
Additionally, the header files from the JNI of the publically download-able Java JDK 19 are classified as
"ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.". I believe that the JNI is either not designated for public usage and should be excluded from the public downloader or that there is an error with the license.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Installing the JDK 19 or previous versions of the JDK.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Header having a bug.
ACTUAL -
Header having a bug.
FREQUENCY : always
Windows 11 x64 22H2 Update, JDK 19.0.1 and indefinite previous versions
A DESCRIPTION OF THE PROBLEM :
Library downloaded from:
https://www.oracle.com/java/technologies/javase/jdk19-archive-downloads.html
The jni.h header located in "C://Program Files/Java/jdk-19/include/" is not including the jni_md.h header properly.
Problematic line: #include "jni_md.h"
Solution: #include "./win32/jni_md.h"
Additionally, the header files from the JNI of the publically download-able Java JDK 19 are classified as
"ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.". I believe that the JNI is either not designated for public usage and should be excluded from the public downloader or that there is an error with the license.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Installing the JDK 19 or previous versions of the JDK.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Header having a bug.
ACTUAL -
Header having a bug.
FREQUENCY : always