Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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**:
```xml

io.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);
```