how to save my jar file from class decompiler.

Recommended Answers

All 2 Replies

Do you mean you want to protect your jar so it can't be decompiled?
There's no perfect solution, but there are ways to make it more difficult.
Google for java obfuscation

you can run it as a webservice, and only provide users the code which connects to that service, so they don't have the actual .class files locally, meaning they won't be able to decompile.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.