jin版本

Version Information
GetVersion
jint GetVersion(JNIEnv *env);

Returns the version of the native method interface. For Java SE Platform 21 and later, it returns JNI_VERSION_21. The following table gives the version of JNI included in each release of the Java SE Platform (for older versions of JNI, the JDK release is used instead of the Java SE Platform):

Java SE Platform JNI Version
1.1 JNI_VERSION_1_1
1.2 JNI_VERSION_1_2
1.3 JNI_VERSION_1_2
1.4 JNI_VERSION_1_4
5.0 JNI_VERSION_1_4
6 JNI_VERSION_1_6
7 JNI_VERSION_1_6
8 JNI_VERSION_1_8
9 JNI_VERSION_9
10 JNI_VERSION_10
11 JNI_VERSION_10
12 JNI_VERSION_10
13 JNI_VERSION_10
14 JNI_VERSION_10
15 JNI_VERSION_10
16 JNI_VERSION_10
17 JNI_VERSION_10
18 JNI_VERSION_10
19 JNI_VERSION_19
20 JNI_VERSION_20
21+ JNI_VERSION_21
LINKAGE:
Index 4 in the JNIEnv interface function table.

PARAMETERS:
env: the JNI interface pointer, must not be NULL.

RETURNS:
Returns the major version number in the higher 16 bits and the minor version number in the lower 16 bits.

Version Constants

define JNI_VERSION_1_1 0x00010001

define JNI_VERSION_1_2 0x00010002

define JNI_VERSION_1_4 0x00010004

define JNI_VERSION_1_6 0x00010006

define JNI_VERSION_1_8 0x00010008

define JNI_VERSION_9 0x00090000

define JNI_VERSION_10 0x000a0000

define JNI_VERSION_19 0x00130000

define JNI_VERSION_20 0x00140000

define JNI_VERSION_21 0x00150000

posted @ 2024-07-28 16:19  Tomato131  阅读(25)  评论(0)    收藏  举报