wood burning stoves 2.0*
The moose likes Java in General and the fly likes Code Obfustication in java... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Code Obfustication in java..." Watch "Code Obfustication in java..." New topic
Author

Code Obfustication in java...

Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

Can anyone suggest me the best way to obfusticate my code in java, swing for client and webservices for server code. Is there any open source tools avilable for this purpose?

Ananth
Developer, Sysvine Technologies


Ananth Chellathurai [Walk on software]
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18550
    
  40

There are quite a few Java obfuscators out there. Many of which are indeed in the open source. A quick google, should give you pages of them.

Don't use them, so don't know which is best. I'll let other make those suggestions.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Jan van Mansum
Ranch Hand

Joined: Oct 19, 2007
Posts: 74
yGuard is a good one.


SCJP 1.4, SCWCD 1.4
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41180
    
  45
ProGuard (on SourceForge) is a good open source one.


Ping & DNS - my free Android networking tools app
Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

Thanks for All your responses. I am picking proguard.

Ananth
Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

Can you help me how to use proguard in my build.xml?
[ November 26, 2007: Message edited by: Ananth Chellathurai ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41180
    
  45
What does the target look like you're using to invoke it? What problems are you encountering?
Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

I am not facing any problems still, I am making a jar with my build script is it possible to use proguard through my build script? If yes what should be done?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41180
    
  45
Proguard includes an ant task that can be used for this purpose. Its manual has a full page of examples and documentation about it.
Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

I will get through it, Thanks Ulf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Code Obfustication in java...
 
Similar Threads
How to resize an application to screen size?
Help with Server try catch
Find two elements in an array that sum to k
Converting non-editable pdfs to editable pdfs
regex?