Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

make a exe file from a jar-file thats not extractable?

 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I have a simple question but hard to answer:
to mate a exe file with a jar is super easy (no guide needed for that), BUT those can be extracted so you see the code,
is there a way to make jar to exe that "lock:s" it to be extracted?

i look at yGard but i dont get it :-(
 
Saloon Keeper
Posts: 14325
321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No. If somebody has access to your application, they can *always* reverse-engineer it. The only way to prevent somebody from reverse engineering your application is to provide it as an online service.
 
Niklas Karlsson
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok, thanks
but is thair anyone who can recomend a "obscure-code" gennerator??
like http://proguard.sourceforge.net/ (but i can't figure out how to work with it :-( )
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ProGuard is a well-known one, and it's very often used for Android apps (I think Google's tools for Android apps support it). But you can also use it for other Java applications than Android apps.

Beware that this ofcourse does not make your code 100% secure. Do not store secrets, such as passwords or encryption keys, in your code and think they are safe when you obfuscate the code. A determined hacker can still reverse engineer and find the secrets you tried to hide. The only thing that obfuscation does is make it harder for a hacker, but not impossible.

About using ProGuard: You just have to read the documentation and learn how to use it.
 
BWA HA HA HA HA HA HA! Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic