I am developing my app using Java 8 and I need to prevent my App from Decompilation. As I've done research in Progaurd too , as progaurd is supported until java 7 but am using java8 so anybody suggest any solution to prevent my App from decompiling.
Asked
Active
Viewed 375 times
0
-
Support for JDK 8 seems to be on the way: http://sourceforge.net/p/proguard/feature-requests/138/ – Carsten Mar 04 '14 at 10:39
-
Thank u for ur reply. is there anyother way to prevent this code in java 8 – GowthamIyer Mar 04 '14 at 10:47
-
I guess, at the moment decompilers will have trouble with Java 8 code too. – Holger Mar 04 '14 at 16:08
-
@Holger Procyon and CFR have handled the new Java 8 constructs for some time now. – Mike Strobel Mar 05 '14 at 14:23
1 Answers
-1
write a custom class loader that will decrypt your class files. that way the file on disk is actually undecompileable (and if you encrypt the whole file, not eve a valid jar). its not fool proof, but a good start.

aepurniet
- 1,719
- 16
- 24
-
1Just a start... Your method can be easily be bypassed by changing 27 lines of OpenJDK. Take a look on this page : http://java.dzone.com/articles/gun-great-equalizer-openjdk – Emmanuel Dupuy Mar 05 '14 at 16:07
-