aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2014-02-24 10:28:29 +0100
committerJakob Odersky <jodersky@gmail.com>2014-02-24 10:28:29 +0100
commit917a6bc5d88d765ec6d80c8ccce108849b3c4f78 (patch)
treee168a07498b1737b0e796a548240bc303c7e01d4
parent2037bcc2d19e69c16c271b2374ce891484925108 (diff)
downloadakka-serial-917a6bc5d88d765ec6d80c8ccce108849b3c4f78.tar.gz
akka-serial-917a6bc5d88d765ec6d80c8ccce108849b3c4f78.tar.bz2
akka-serial-917a6bc5d88d765ec6d80c8ccce108849b3c4f78.zip
Update embedded-building.md
-rw-r--r--documentation/embedded-building.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/embedded-building.md b/documentation/embedded-building.md
index 7b3f7d1..36f5ba2 100644
--- a/documentation/embedded-building.md
+++ b/documentation/embedded-building.md
@@ -38,7 +38,7 @@ This section details the procedure for linux-based target platforms.
In your scala/java application, treat flow as if it were a pure scala/java library and build your application with flow as a usual dependency. However, when running your application or any other application that relies on it, the native library must be included in java's library path. To do so, you have several options:
- Per application:
- - Run java with the command-line option -Djava.library.path=".:/home/<folder containing libflow.so>". E.g. ```java -Djava.library.path=".:/home/<folder containing libflow.so>" -jar your-app.jar```
+ - Run java with the command-line option -Djava.library.path="\<folder containing libflow.so\>". For example, if the native library is in the current directory, ```java -Djava.library.path="." -jar your-app.jar```
- Run your program by prepending LD_LIBRARY_PATH=<folder containing libflow.so> to the command. E.g ```LD_LIBRARY_PATH=<folder containing libflow.so> java -jar your-app.jar```
- System- or user-wide: