fixed for java25

Signed-off-by: pengzhile <[email protected]>
This commit is contained in:
pengzhile
2025-10-31 15:44:54 +08:00
parent 30a07f9c60
commit dcff7747da
3 changed files with 19 additions and 10 deletions
+1 -7
View File
@@ -1,4 +1,4 @@
# ja-netfilter 2022.2.0
# ja-netfilter 2025.3.0
### A Java Instrumentation Framework
@@ -10,12 +10,6 @@
* some apps support the `JVM Options file`, you can add as a line of the `JVM Options file`.
* **WARNING: DO NOT put some unnecessary whitespace characters!**
* or execute `java -jar /path/to/ja-netfilter.jar` to use `attach mode`.
* for **Java 17** you have to add at least these `JVM Options`:
```
--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED
```
* edit your plugin config files: `${lower plugin name}.conf` file in the `config` dir where `ja-netfilter.jar` is located.
* the `config`, `logs` and `plugins` directories can be specified through **the javaagent args**.