Jump to content
  • 0

How to protect .jar file


Question

Posted

how to protect .jar file from decompielation?

i know that i need obsfucator but it hass erros, if anyone can help i will be glad.

 

5 answers to this question

Recommended Posts

  • 0
Guest Elfocrash
Posted

if you encrypt source as far as i know

  • 0
Posted

if you encrypt you can also decrypt but obfusicator allows you to not open in decompilation, you need to hack it with hexid to ediit :)  and encrypt decrypt is really easy

  • 0
Posted

As you said, using obfuscator such as http://proguard.sourceforge.net/.

 

And with obfuscation you still can open, but all variables and methods are renamed, which is almost impossible for random guys to understand it.

  • 0
Posted

i have it but unfortnunetlly get to many errors, it isn't obsfucateing i think :( do you have any guide?

i used guides from youtube but not works :(

  • 0
Posted

I tried it for like an hour without checking notice, I had 4 errors in final but .jar was still broken.

 

Well here is a how to for the GUI :

- compile your project

- in ProGuard, put input/output jars (input is the jar you want to obfuscate and the list of required jar that jar is using in order to normally compile... It includes some JAVA common jars too ! Output is the resulting jar, so rename it comparing to l2jserver.jar

- you press the button and voilà. You can also generate a table with all links before/after.

 

Personally I compiled it all good, except 4 errors (all about templates)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock