Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glavo/gjavah
https://github.com/glavo/gjavah
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/glavo/gjavah
- Owner: Glavo
- License: mit
- Created: 2018-04-11T06:38:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-07T14:02:16.000Z (over 3 years ago)
- Last Synced: 2023-03-10T10:36:33.856Z (over 1 year ago)
- Language: Java
- Size: 178 KB
- Stars: 18
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gjavah
[![](https://jitpack.io/v/Glavo/gjavah.svg)](https://jitpack.io/#Glavo/gjavah)Gradle :
```groovy
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}dependencies {
implementation 'org.glavo.glavo:gjavah:0.3.1'
}
```## Usage
### Use gjavah in Java
```java
import org.glavo.javah.*;JavahTask task = new JavahTask();
task.setOutputDir(Paths.get(""));
task.addRuntimeSearchPath();
task.addClass("java.lang.Object");
task.addClass("java.lang.String");
task.run();
```### Use gjavah in console
```
java -jar gjavah-0.3.1.jar -d . java.lang.Object java.lang.System
```