https://github.com/eldaduzman/jnius-demo
https://github.com/eldaduzman/jnius-demo
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eldaduzman/jnius-demo
- Owner: eldaduzman
- Created: 2022-03-07T15:30:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-07T15:31:48.000Z (over 3 years ago)
- Last Synced: 2025-02-12T14:28:01.875Z (8 months ago)
- Language: Java
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bridge Java from python with pyjnius
## pre-requisites:
1. python 3.8
2. Open jdk 11
3. javac## usage
1. Compile the java project with maven `mvn clean install -f some-java-app/pom.xml`
2. Make sure the jar file is located at `some-java-app/target/some-java-app-1.0-SNAPSHOT.jar`
3. Run the python script `python some-python-app`