Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kerwin612/jar-runner
The library that can be used to run external jar packages in java projects.
https://github.com/kerwin612/jar-runner
Last synced: 5 days ago
JSON representation
The library that can be used to run external jar packages in java projects.
- Host: GitHub
- URL: https://github.com/kerwin612/jar-runner
- Owner: kerwin612
- License: apache-2.0
- Created: 2024-01-22T06:32:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-22T06:33:57.000Z (10 months ago)
- Last Synced: 2024-10-16T20:29:50.392Z (27 days ago)
- Language: Java
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jar-runner
**The library that can be used to run external jar packages in java projects.**
> Before running, it automatically downloads the dependencies of the jar package from the maven repository central, loads the dependencies using the isolated classloader, and then use reflection to invoke the methods in the external jar package.
**maven**:
```xmlio.github.kerwin612
jar-runner
0.1```
**gradle**:
```groovy
implementation 'io.github.kerwin612:jar-runner:0.1'
```**example**:
```java
JarRunner.load(Path loadedPath, boolean override, Path... jars).run(String className, String methodName, Object... args);
```