mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
Feat: add java-system-load test with copy-and-build and run scripts
This commit is contained in:
1 parent
092110672a
commit
78160a33a9
5 files changed
+73
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
public class Loader {
|
||||
public static void main(String[] args) {
|
||||
System.load(new File("./libinject.dll").getAbsolutePath());
|
||||
System.out.println("Loaded libinject.dll");
|
||||
System.out.println("====================================");
|
||||
System.load(new File("./libloader.dll").getAbsolutePath());
|
||||
System.out.println("Loaded libloader.dll");
|
||||
System.out.println("====================================");
|
||||
System.load(new File("./libagent.dll").getAbsolutePath());
|
||||
System.out.println("Loaded libagent.dll");
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user