Results 1 to 4 of 4
  1. #1
    Jhovarie is offline Banned
    Join Date
    Feb 2011
    Posts
    65
    Rep Power
    0

    Default obfuscate problem with javaguard Unrecoverable error during obfuscation

    Hi please correct me if i have a mistake on my steps...

    1) i download javaguard from JavaGuard | Download JavaGuard software for free at SourceForge.net and extract it.

    2) i add my test1.jar to "javaguard-1.0beta4\lib" //"test1.jar" is the jar file that i want to obfuscate.

    3) i open a notepad and write the syntax bellow.

    set path=C:\Program Files\Java\jdk1.6.0_26\bin //<-- this is my jdk directory
    java -cp javaguard.jar;jakarta-oro-2.0.6.jar JavaGuard -i test1.jar -o output-obfuscated.jar -l logfile.txt -s scriptfile.txt -v -v -v
    pause

    4) then save as ".bat" then i run it.

    then i got some error "Unrecoverable error during obfuscation:"
    plss... help step by step.

  2. #2
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default

    What's the rest of the error message? If it's a Java problem, we might be able to help. If it's a Javaguard problem, you might have better luck posting in Javaguard's own forums or contacting their developers.
    Get in the habit of using standard Java naming conventions!

  3. #3
    Jhovarie is offline Banned
    Join Date
    Feb 2011
    Posts
    65
    Rep Power
    0

    Default

    heres the error

    Unrecoverable error during obfuscation:
    scriptfile.txt (The system cannot find the file specified)
    java.io.FileNotFoundException: scriptfile.txt (The system cannot find the file specified)

    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.(init)(FileInputStream.jav a.:120)
    at net.sf.javaguard.ScriptFile.(init)(ScriptFile.java :56)
    at JavaGuard.obfuscate(JavaGuard.java:317)
    at JavaGuard.start(JavaGuard.java:179)
    at javaGuard.main(JavaGuard.java:146)

    Hope that some one experience this.

  4. #4
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default

    Well, read what the error says. It's looking for a file called scriptfile.txt, and can't find it. Is the file there?

    JavaGuard's site says it's still in beta, and the best way to get help is to contact the developers. https://sourceforge.net/projects/javaguard/support
    Get in the habit of using standard Java naming conventions!

Similar Threads

  1. Obfuscate a .class? Help please
    By ForeverP in forum Advanced Java
    Replies: 2
    Last Post: 05-06-2011, 05:53 PM
  2. Obfuscate a .class? Help please
    By ForeverP in forum New To Java
    Replies: 2
    Last Post: 04-29-2011, 01:33 PM
  3. Recommendations for Code obfuscation
    By piyu.sha in forum Advanced Java
    Replies: 5
    Last Post: 10-15-2008, 05:44 PM
  4. Obfuscate the code
    By jayaganesh in forum Advanced Java
    Replies: 1
    Last Post: 12-11-2007, 11:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •