aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-09-23 00:48:27 +0300
committerlevlam <levlam@telegram.org>2025-09-23 00:48:27 +0300
commit4cca615424151fa8add24acd4b01332edde5e83b (patch)
tree1b79135c02c71551b32d81231643a00dedcb6937 /example
parent481a82fa2bae4ef2cadccae51ff272a0dba11f02 (diff)
Improve Java example README.
Diffstat (limited to 'example')
-rw-r--r--example/java/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/java/README.md b/example/java/README.md
index ca103947f..df28255fe 100644
--- a/example/java/README.md
+++ b/example/java/README.md
@@ -19,8 +19,6 @@ If you want to compile TDLib for 32-bit/64-bit Java on Windows using MSVC, you w
In Windows, use vcpkg toolchain file by adding parameter -DCMAKE_TOOLCHAIN_FILE=<VCPKG_DIR>/scripts/buildsystems/vcpkg.cmake
-If you want to build JsonClient.java wrapper for JSON interface instead of the native JNI interface, add `-DTD_JSON_JAVA=ON` option to CMake.
-
After this you can compile the example source code:
```
cd <path to TDLib sources>/example/java
@@ -30,6 +28,8 @@ cmake -DCMAKE_BUILD_TYPE=Release -DTd_DIR=<full path to TDLib sources>/example/j
cmake --build . --target install
```
+If you want to build JsonClient.java wrapper for JSON interface instead of the native JNI interface, add `-DTD_JSON_JAVA=ON` option to CMake when building the example.
+
Compiled TDLib shared library and Java example after that will be placed in `bin/` and Javadoc documentation in `docs/`.
After this you can run the Java example: