• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can anyone prevent his code from being decompiled

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi guys i want to know if anyone knows of anyway he or she can prevent thier code from being decompiled?
[ August 02, 2005: Message edited by: Mark Spritzler ]
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no such a way.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A really good Obfuscator helps, but nothing is guaranteed.

Mark
 
lexander Bosco
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok mark i tried proguard
i unzipped its proguard.jar into the bin directory of my wireless toolkit
but its not jar-ing my application.
its complainin of this error

--------------------------------------
Error preverifying class mpayment
VERIFIER ERROR mpayment.commandAction(Ljavax/microedition/lcdui/Command;Ljavax/microedition/lcdui/Displayable V:
Incompatible object argument for function call
com.sun.kvem.ktools.ExecutionException: Preverifier returned 1
Build failed
com.sun.kvem.midletsuite.InvalidJadException: Reason = 31
The jar size value in the Application Descriptor does not match the real jar file size.
----------------------------------------

what u think is da matter ?
 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,

just don't unzip the jar file!

Copy it as proguard.jar into the WTK (version should be > 2.0)
bin directory.

here is also a link with some instructions:
http://developers.sun.com/techtopics/mobility/midp/ttips/proguard/

Regards,
Stuart
[ August 03, 2005: Message edited by: Stuart Goss ]
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, that smiley face in the VERIFY ERROR probably isn't good.

Mark
 
lexander Bosco
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but guys i did just what u said stuart and its still sayin da same thing
so what next?
 
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OKay, lets make some progress here..

Items to incldue so that we can help solve yoruprolem:

-WTK version
-JDK version
-complete or first part of error log
 
lexander Bosco
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
fred what u mean?
plz elucidate
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic