https://github.com/ihe1u0/javalib
https://github.com/ihe1u0/javalib
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ihe1u0/javalib
- Owner: iHe1u0
- Created: 2023-07-05T01:46:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T02:33:18.000Z (almost 2 years ago)
- Last Synced: 2025-02-13T06:18:25.107Z (4 months ago)
- Language: Java
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JavaLib
A sample project for Java and C++.
## Getting Started
- run `javac -h ./include/ ./src/App.java -d ./bin/` to generate Jni header.
- run `cmake -S ./cpp/ -B ./build/`.
- run Java program.## Folder Structure
The workspace contains two folders by default, where:
- `src`: the folder to maintain sources
- `lib`: the folder to maintain dependencies
- `include`: the folder for JNI header files.
- `cpp`: the folder for C or C++ sources.Meanwhile, the compiled output files will be generated in the `bin` folder by default.
> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there.