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 fd5f6cd commit 6a55413Copy full SHA for 6a55413
README.md
@@ -11,7 +11,12 @@ separately to build on Linux or macOS using the following commands:
11
export JVM_LIBRARY_PATH=$JAVA_HOME/jre/lib/server # macOS
12
export JVM_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server # Linux
13
14
- ulimit -n 10000 # increase file descriptors for link
+ ulimit -n 10000 # increase file descriptors for link on Linux
15
+
16
+ # or, to use the JVM that comes with Xcode
17
18
+ export JAVA_HOME=/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/java
19
+ export JVM_LIBRARY_PATH=$JAVA_HOME/lib/server # even works on an M1
20
21
swift build -Xlinker -L$JVM_LIBRARY_PATH -Xlinker -rpath -Xlinker $JVM_LIBRARY_PATH -Xlinker -ljvm
22
```
0 commit comments