Update Java example README.md.
GitOrigin-RevId: 3e1a8519808240bb83a7102bda769ad769e8139e
This commit is contained in:
parent
b339833ef9
commit
d8f4e97747
@ -30,4 +30,6 @@ cd <path to tdlib sources>/example/java/bin
|
||||
java -Djava.library.path=. org/drinkless/tdlib/example/Example
|
||||
```
|
||||
|
||||
If you get java.lang.UnsatisfiedLinkError with "Can't find dependent libraries" you may also need to copy some dependent shared libraries to bin/.
|
||||
If you get "Could NOT find JNI ..." error from CMake, you need to specify to CMake path to the installed JDK, for example, "-DJAVA_HOME=/usr/lib/jvm/java-8-oracle/".
|
||||
|
||||
If you get java.lang.UnsatisfiedLinkError with "Can't find dependent libraries", you may also need to copy some dependent shared libraries to bin/.
|
||||
|
Loading…
Reference in New Issue
Block a user