Jump to content
  • 0

How to protect .jar file


Question

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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...