We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ca5260 commit f5ce6beCopy full SHA for f5ce6be
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "java-locator"
3
-version = "0.1.1"
+version = "0.1.2"
4
authors = ["aston <[email protected]>"]
5
description = "Locates a Java installation in the host."
6
keywords = ["java", "jni"]
src/lib.rs
@@ -141,12 +141,16 @@ fn is_unix() -> bool {
141
142
/// Returns the name of the jvm dynamic library:
143
///
144
-/// * libjvm.so for Linux / Macos
+/// * libjvm.so for Linux
145
+///
146
+/// * libjvm.dlyb for Macos
147
148
/// * jvm.dll for Windows
149
pub fn get_jvm_dyn_lib_file_name() -> &'static str {
150
if is_windows() {
151
"jvm.dll"
152
+ } else if is_macos() {
153
+ "libjvm.dylib"
154
} else {
155
"libjvm.so"
156
}
0 commit comments