obfuscator
obfuscator copied to clipboard
Unable to complete name confusion
When I select the name obfuscation function, the following exception output: me.superblaubeere27.jobf.utils.MissingClassException: java/lang/Object is missing in the classPath. How to solve this problem?
Read the readme
the readme doesn't answer this tho.
You need to add the rt to your classpath
oh i thought class path was my code eg pw.allbombson.helloworld
what is the formatting for --cp can u give me an example?
Check the ReadMe, there is an example config with the rt added to the classpath
What if the used java version is >= 9 and does not have the rt anymore?
I still get it even after adding "D:\Minecraft-Hacks-2020\jdk-1.8.0\jre\lib"
Installed offical 64bit java and used "C:\Program Files\Java\jre1.8.0_251\lib" and still get error
What if the used java version is >= 9 and does not have the rt anymore?
J >= 9 still have rt it’s just got a different name
Installed offical 64bit java and used "C:\Program Files\Java\jre1.8.0_251\lib" and still get error
Use the full path to rt.jar rather than the directory
i made it the full path to rt, still get the error
Make sure that the .jar you are adding contains java/lang/Object.class
it does
I actually got the same issue with Java 13.0.1.
jobf.utils.MissingClassException: java/lang/Object (referenced in blabla) is missing in the classPath
I added the full path to the jmod (rt) C:\Program Files\Java\jdk-13.0.1\jmods\java.base.jmod
Read the readme
Thank you very much! This issue has been resolved!
Make sure that the .jar you are adding contains java/lang/Object.class
After adding rt.jar, the previous exception did not occur again. However, if you add too many dependent jar packages, it will cause OutOfMemory error java.lang.OutOfMemoryError: Java heap space