I'm trying to obfuscate my java code with ProGuard (5.2.1).
I'm using LWJGL in my project.
So i execute proguardgui.jar and when the window is open, i do :
- Click on "Input / Output."
- CLick on "Add input" (choose my jar file etc...)
- CLick on "Add output" (type "PWdd.jar" etc...)
- Click on "Next" (5 times)
- Click on "Process!"
That's the answer of the program :
http://whiteplay.fr/help.html (I had to make an html page because StackOverflow have a limit of lines in each questions :/)
Do you know what have i to do ?
PS : The program (The input jar file) is working before the obfuscation.
 
    
    - 11
- 1
- 5
- 
                    http://crunchify.com/how-to-convert-existing-java-project-to-maven-in-eclipse/ and https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html – specializt Dec 10 '15 at 12:42
- 
                    Thanks @specializt, I instaled maven and convert my eclipse project. But when i'm trying to add LWJGL'jar with this method : http://stackoverflow.com/questions/4955635/how-to-add-local-jar-files-in-maven-project, it dont works. Can you help me ? (Maybe we should find another place to chat). – John Dec 10 '15 at 14:04
- 
                    @John sorry to confuse you, that was not an answer just hint for pasting big chunks of logs etc.. you dont have to create web pages for that :) just use pastebin site – nayana Dec 10 '15 at 15:09
- 
                    Ah ok @otopolsky, i just doesn't understant :D – John Dec 10 '15 at 15:53
2 Answers
Ok, because i used eclipse, when i exported my jar file, i choosed to include jar lib to my jar projetc. If you choose to put them into a folder neer the project jar it's working :D
 
    
    - 11
- 1
- 5
Super late, but I did have the same issue today and figured it out
- Export jar with separate folder for libraries (call it - jar1.jarfor example)
- Obfuscate - jar1.jarto- jar1_obf.jar
- Export again with libraries extracted in jar file ( - jar2.jar)
- rename - jar1_obf.jarto- jar_obf.zip
- rename - jar2.jarto- zip2.zip
- extract - zip1.zipto- folder1
- extract - zip2.zipto- folder2
- copy all files and files not found in - folder1from- folder2to- folder1(do not copy everything and paste, because there is a chance that an unnecessary file is copied into- folder1)
- now that - folder1has everything, send all the contents (not- folder1itself) of- folder1to- final.zip
- rename - final.zipto- final.jarwith jar extension, it should work!
- Delete any files and folders created in the process (except - final.jarof course)
Hopefully, this made sense; it probably got confusing with all the file names.
 
    
    - 3,010
- 1
- 28
- 35
