java exe wrapping... does it protect the code from decompilation?

Discussion in 'Java' started by tiewknvc9, Oct 5, 2006.

  1. tiewknvc9

    tiewknvc9 Guest


    Im trying to figure out if using a program that generates an exe while
    wrapping my jar file inside it, would actually protect my code (without
    obfuscation) from potential hackers with decompilers.

    While I am aware that exe's can be decompiled, although very difficult
    to read, I dont know if wrapping my jar in an exe would actually add
    enough security...

    Im referring to something like jsmooth...

    Thanks for your feedback
    tiewknvc9, Oct 5, 2006
    1. Advertisements

  2. tiewknvc9

    Oliver Wong Guest

    Depends on the implementation. It's possible all the EXE does is
    extracts the JAR and executes it, and deletes the JAR once the program
    finishes. If so, it's possible for the hacker to just stop the program
    before the delete occurs, and thus gain access to the JAR.

    - Oliver
    Oliver Wong, Oct 5, 2006
    1. Advertisements

  3. I use NativeJ ( and asked the author
    this question quite a while back. His reply might be helpful to you:
    victor at sevencoins dot com, Oct 9, 2006
  4. tiewknvc9


    Aug 30, 2016
    Likes Received:
    I have developed small application then extract to runnable jar then wrapped that to .exe.
    wrapped jar (.exe) can be extracted easily using 7zip app. so, it not giving enough security.

    Do we have any other way to protect (wrapped jar) .exe files from extracters like 7zip?
    kumar2828, Aug 30, 2016
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.