You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received the following error when building my project:
error[E0425]: cannot find value `EXPECTED_JVM_FILENAME` in this scope --> .../jni-0.19.0/build.rs:102:25
|
102 | if file_name == EXPECTED_JVM_FILENAME {
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
This was on rust 1.75.0.
I'm not sure if its relevant but due to the JVM thing mentioned in the error I have openjdk 17 installed.
The text was updated successfully, but these errors were encountered:
You're using an old version of the jni crate (0.20.0 or earlier) with an unsupported target operating system. The only supported target operating systems in that version are Android, FreeBSD, Linux, macOS, NetBSD, OpenBSD, and Windows.
That was fixed in version 0.21.0. This crate should work on any operating system now, but you'll need to update.
Note that the invocation feature is still limited to whichever operating systems are supported by the libloading crate.
I received the following error when building my project:
This was on rust 1.75.0.
I'm not sure if its relevant but due to the JVM thing mentioned in the error I have openjdk 17 installed.
The text was updated successfully, but these errors were encountered: