You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Make SSVM use java 8 runtime classes
* change log level so it would be seen in tests
* println
* allow rtJarPath to be passed as property
* typo
* add readme
Copy file name to clipboardExpand all lines: README.md
+25-6Lines changed: 25 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,39 @@ A deobfuscator for java
6
6
## ✅ How to run deobfuscator
7
7
If you want to use this deobfuscator, you need to start it from your IDE manually.
8
8
9
+
### Prerequisites
10
+
**Important:** You need TWO different Java installations:
11
+
-**[Java 17](https://adoptium.net/temurin/releases/?version=17)** - Required for the project to compile and run
12
+
-**[Java 8](https://adoptium.net/temurin/releases/?version=8)** - Required for the sandbox (SSVM) to work properly
13
+
14
+
### Instructions
9
15
1. Clone this repository and open it in IntelliJ
10
-
2. Make sure that you have selected [Java 17 (Temurin)](https://adoptium.net/temurin/releases/?version=17) in `Project Structure` -> `SDK`
11
-
3. Place your obfuscated jar inside the root project directory. For example in `work/obf-test.jar`
12
-
4. Navigate to class [`Bootstrap.java`](./deobfuscator-impl/src/test/java/Bootstrap.java)
13
-
5. In this class edit the deobfuscator configuration
14
-
-`inputJar` - Your obfuscated jar file that you placed in step 1
16
+
2. Make sure that you have selected [Java 17](https://adoptium.net/temurin/releases/?version=17) in `Project Structure` -> `SDK`
17
+
3. Install [Java 8](https://adoptium.net/temurin/releases/?version=8) if you don't have it already
18
+
4. Place your obfuscated jar inside the root project directory. For example in `work/obf-test.jar`
19
+
5. Navigate to class [`Bootstrap.java`](./deobfuscator-impl/src/test/java/Bootstrap.java)
20
+
6. In this class edit the deobfuscator configuration
21
+
-`inputJar` - Your obfuscated jar file that you placed in step 4
15
22
-`transformers` - Pick transformers that you want to run. You can find them in [`deobfuscator-transformers`](./deobfuscator-transformers/src/main/java/uwu/narumi/deobfuscator/core/other) module.
16
-
6. Run this class manually from your IDE. You can use our pre-configured IntelliJ task named `Bootstrap`.
23
+
7. Run this class manually from your IDE. You can use our pre-configured IntelliJ task named `Bootstrap`.
17
24
18
25

19
26
20
27
## 🔧 Contributing
21
28
Contributions are welcome! See [CONTRIBUTING.md](./CONTRIBUTING.md) for a project introduction and some basics about java bytecode.
22
29
30
+
## ❓ FAQ
31
+
32
+
**Q: Sandbox doesn't work / "rt.jar is required for sandbox to run" error**
33
+
34
+
A: The sandbox requires rt.jar from **[Java 8](https://adoptium.net/temurin/releases/?version=8)** installation. The deobfuscator will try to auto-detect it, but if it fails:
35
+
- Make sure you have [Java 8](https://adoptium.net/temurin/releases/?version=8) installed
36
+
- You can manually set it via system property: `-DrtJarPath="path/to/rt.jar"`
37
+
- Or specify it in your Bootstrap configuration: `.rtJarPath(Path.of("path/to/rt.jar"))`
38
+
- Common rt.jar locations (may vary based on installation):
0 commit comments